wok-current annotate firefox-official-uk/receipt @ rev 23111
updated libtorrent-rasterbar and libtorrent-rasterbar-dev (1.2.0 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 12 16:16:29 2020 +0100 (2020-03-12) |
parents | 8fb63f185731 |
children | 07fcb5769b7f |
rev | line source |
---|---|
al@18699 | 1 # SliTaz package receipt. |
al@18699 | 2 |
al@18699 | 3 PACKAGE="firefox-official-uk" |
al@18699 | 4 lang="uk" |
pascal@22669 | 5 VERSION="72.0.1" |
al@18699 | 6 CATEGORY="network" |
Hans-G?nter@21135 | 7 TAGS="web-browser" |
Hans-G?nter@21135 | 8 SHORT_DESC="Official Firefox build by the Mozilla foundation (Ukrainian language)." |
al@18699 | 9 MAINTAINER="al.bobylev@gmail.com" |
al@18699 | 10 LICENSE="MPL2" |
al@18699 | 11 WEB_SITE="http://www.mozilla.org/firefox" |
Hans-G?nter@21135 | 12 |
al@18699 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@18699 | 14 WGET_URL="http://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/$lang/firefox-$VERSION.tar.bz2" |
Hans-G?nter@21135 | 15 |
al@19503 | 16 PROVIDE="firefox-official browser-html5" |
pascal@22342 | 17 DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc" |
al@18699 | 18 HOST_ARCH="i486" |
al@18699 | 19 |
al@18699 | 20 # Rules to configure and make the package. |
al@18699 | 21 compile_rules() |
al@18699 | 22 { |
al@18803 | 23 # Installation path |
al@18803 | 24 fx='/opt/mozilla/firefox' |
al@18803 | 25 |
Hans-G?nter@21135 | 26 mkdir -p \ |
Hans-G?nter@21135 | 27 $install$fx \ |
Hans-G?nter@21135 | 28 $install/usr/bin \ |
Hans-G?nter@21135 | 29 $install/usr/share/applications \ |
al@18699 | 30 $install/usr/share/icons/hicolor/128x128/apps |
al@18699 | 31 |
al@18803 | 32 # Copy everything |
al@18803 | 33 cp -a $src/* $install$fx |
al@18699 | 34 |
al@18803 | 35 # Executable |
al@18803 | 36 ln -s $fx/firefox $install/usr/bin/firefox-official |
al@18699 | 37 |
al@18699 | 38 # Icons |
al@18803 | 39 ln -s $fx/browser/icons/mozicon128.png \ |
al@18699 | 40 $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png |
al@18699 | 41 for size in 16 32 48; do |
al@18699 | 42 icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps" |
al@18699 | 43 mkdir -p $icon_folder |
al@18803 | 44 ln -s $fx/browser/chrome/icons/default/default$size.png \ |
al@18699 | 45 $icon_folder/firefox-official.png |
al@18699 | 46 done |
al@18699 | 47 |
al@18803 | 48 # Allow user updates (save user's and our traffic) |
al@18803 | 49 chmod -R a+w $install$fx |
al@18699 | 50 |
al@18803 | 51 # Desktop shortcut |
al@18699 | 52 cp $stuff/firefox-official.desktop $install/usr/share/applications |
al@18699 | 53 } |
al@18699 | 54 |
al@18699 | 55 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18699 | 56 genpkg_rules() |
al@18699 | 57 { |
al@18699 | 58 cp -a $install/* $fs |
pascal@19104 | 59 ln -s firefox-official $fs/usr/bin/browser-html5 |
al@18699 | 60 } |