wok annotate firefox-official-uk/receipt @ rev 18699

Up firefox-official* (43.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Dec 16 02:02:53 2015 +0200 (2015-12-16)
parents
children dcdf29fbef66
rev   line source
al@18699 1 # SliTaz package receipt.
al@18699 2
al@18699 3 PACKAGE="firefox-official-uk"
al@18699 4 lang="uk"
al@18699 5 VERSION="43.0"
al@18699 6 CATEGORY="network"
al@18699 7 SHORT_DESC="Official Firefox build by the Mozilla foundation (Ukrainian language)"
al@18699 8 MAINTAINER="al.bobylev@gmail.com"
al@18699 9 LICENSE="MPL2"
al@18699 10 WEB_SITE="http://www.mozilla.org/firefox"
al@18699 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@18699 12 WGET_URL="http://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/$lang/firefox-$VERSION.tar.bz2"
al@18699 13 TAGS="web-browser"
al@18699 14 PROVIDE="firefox-official"
al@18699 15 HOST_ARCH="i486"
al@18699 16
al@18699 17 DEPENDS="gtk+"
al@18699 18
al@18699 19 # Rules to configure and make the package.
al@18699 20 compile_rules()
al@18699 21 {
al@18699 22 mkdir -p \
al@18699 23 $install/usr/bin \
al@18699 24 $install/usr/lib/firefox-$VERSION \
al@18699 25 $install/usr/share/applications \
al@18699 26 $install/usr/share/icons/hicolor/128x128/apps
al@18699 27
al@18699 28 cp -a $src/* $install/usr/lib/firefox-$VERSION
al@18699 29
al@18699 30 # /usr/bin/firefox-official
al@18699 31 ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/firefox-official
al@18699 32
al@18699 33 # Icons
al@18699 34 ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \
al@18699 35 $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png
al@18699 36 for size in 16 32 48; do
al@18699 37 icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps"
al@18699 38 mkdir -p $icon_folder
al@18699 39 ln -s /usr/lib/firefox-$VERSION/browser/chrome/icons/default/default$size.png \
al@18699 40 $icon_folder/firefox-official.png
al@18699 41 done
al@18699 42
al@18699 43 # Remove updater files (user can't upgrade anyway)
al@18699 44 rm -f $install/usr/lib/firefox-$VERSION/update*
al@18699 45
al@18699 46 cp $stuff/firefox-official.desktop $install/usr/share/applications
al@18699 47 }
al@18699 48
al@18699 49 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18699 50 genpkg_rules()
al@18699 51 {
al@18699 52 cp -a $install/* $fs
al@18699 53 }