wok-current rev 18476

Up firefox-official(41.0.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 06 20:43:34 2015 +0300 (2015-10-06)
parents 7d7308c50576
children 7bb67a9e6b53
files firefox-official/receipt firefox-official/stuff/firefox-official.desktop
line diff
     1.1 --- a/firefox-official/receipt	Tue Oct 06 15:50:16 2015 +0300
     1.2 +++ b/firefox-official/receipt	Tue Oct 06 20:43:34 2015 +0300
     1.3 @@ -1,14 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="firefox-official"
     1.7 -VERSION="40.0.2"
     1.8 +VERSION="41.0.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Official Firefox build by the Mozilla foundation."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="MPL2"
    1.13 -SOURCE="firefox"
    1.14 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15  WEB_SITE="http://www.mozilla.org/firefox"
    1.16 +TARBALL="firefox-$VERSION.tar.bz2"
    1.17  WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/en-US/$TARBALL"
    1.18  TAGS="web-browser"
    1.19  HOST_ARCH="i486"
    1.20 @@ -19,20 +18,23 @@
    1.21  compile_rules()
    1.22  {
    1.23  	mkdir -p \
    1.24 -		${DESTDIR}/usr/bin \
    1.25 -		${DESTDIR}/usr/lib/firefox-${VERSION} \
    1.26 -		${DESTDIR}/usr/share/pixmaps
    1.27 -	cp -a ${src}/* ${DESTDIR}/usr/lib/firefox-${VERSION}
    1.28 +		$install/usr/bin \
    1.29 +		$install/usr/lib/firefox-$VERSION \
    1.30 +		$install/usr/share/icons/hicolor/128x128/apps
    1.31 +
    1.32 +	cp -a $src/* $install/usr/lib/firefox-$VERSION
    1.33 +
    1.34  	# /usr/bin/firefox-official + pixmap
    1.35 -	ln -s ../lib/firefox-${VERSION}/firefox ${DESTDIR}/usr/bin/${PACKAGE}
    1.36 -	ln -s ../../lib/firefox-${VERSION}/browser/icons/mozicon128.png \
    1.37 -		${DESTDIR}/usr/share/pixmaps/${PACKAGE}.png
    1.38 +	ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/$PACKAGE
    1.39 +	ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \
    1.40 +		$install/usr/share/icons/hicolor/128x128/apps/$PACKAGE.png
    1.41 +
    1.42  	# Remove updater files (users can't upgrade anyway)
    1.43 -	rm -f ${DESTDIR}/usr/lib/firefox-${VERSION}/update*
    1.44 +	rm -f $install/usr/lib/firefox-$VERSION/update*
    1.45  }
    1.46  
    1.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.48  genpkg_rules()
    1.49  {
    1.50 -	mkdir -p ${fs} && cp -a ${install}/* ${fs}
    1.51 +	cp -a $install/* $fs
    1.52  }
     2.1 --- a/firefox-official/stuff/firefox-official.desktop	Tue Oct 06 15:50:16 2015 +0300
     2.2 +++ b/firefox-official/stuff/firefox-official.desktop	Tue Oct 06 20:43:34 2015 +0300
     2.3 @@ -3,7 +3,7 @@
     2.4  Name=Firefox Web Browser (official)
     2.5  Name[fr]=Navigateur web Firefox (officiel)
     2.6  Name[ru]=Браузер Firefox (официальный)
     2.7 -Exec=firefox-official
     2.8 +Exec=firefox-official %u
     2.9  Icon=firefox-official
    2.10  Categories=GTK;Network;WebBrowser;
    2.11 -MimeType=text/html;application/xhtml+xml;application/xml;
    2.12 \ No newline at end of file
    2.13 +MimeType=text/html;application/xhtml+xml;application/xml;