Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
1.3 KiB

name=palemoon
version=27.0.0a2
update_url='http://www.palemoon.org/WIP/'
download "http://relmirror.palemoon.org/beta/tycho/$name-$version.linux-x86_64.tar.bz2" \
'073d3c946fc75b48443be6ec7a48685b'
extrafile "$name.desktop"
header_end
# Install files
mkdir -p "$dir_install/$dir_prefix/$dir_libdir"
extract "$name-$version.linux-x86_64.tar.bz2" "$dir_install/$dir_prefix/$dir_libdir/"
# Install executable
mkdir -p "$dir_install/$dir_prefix/$dir_bindir"
ln -s "$dir_sysroot/$dir_prefix/$dir_libdir/$name/$name" "$dir_install/$dir_prefix/$dir_bindir/$name"
# Install icons
for x in 16 32 48; do
mkdir -p "$dir_install/$dir_prefix/$dir_datadir/icons/hicolor/${x}x$x/apps"
ln -s "$dir_sysroot/$dir_prefix/$dir_libdir/$name/browser/chrome/icons/default/default$x.png" "$dir_install/$dir_prefix/$dir_datadir/icons/hicolor/${x}x$x/apps/$name.png"
done
mkdir -p "$dir_install/$dir_prefix/$dir_datadir/icons/hicolor/128x128/apps"
ln -s "$dir_sysroot/$dir_prefix/$dir_libdir/$name/browser/icons/mozicon128.png" "$dir_install/$dir_prefix/$dir_datadir/icons/hicolor/128x128/apps/$name.png"
# Install desktop file
mkdir -p "$dir_install/$dir_prefix/$dir_datadir/applications"
cp "$name.desktop" "$dir_install/$dir_prefix/share/applications/$name.desktop"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: