diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-03 15:15:38 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-03 15:15:38 -0200 |
commit | d635af1050688c5e4e3d1aa5f6cb1d8d51292e92 (patch) | |
tree | bbe8125a7f91a674e141ccad5c425b4238a48ffc /libre/iceweasel-libre/PKGBUILD | |
parent | 130bf31da33a166c173178197f521d51b5930f6d (diff) |
iceweasel-libre-17.0.1.2-1: fixing iceweasel.desktop issue on the building
Diffstat (limited to 'libre/iceweasel-libre/PKGBUILD')
-rw-r--r-- | libre/iceweasel-libre/PKGBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD index bda2184e1..3bdafac95 100644 --- a/libre/iceweasel-libre/PKGBUILD +++ b/libre/iceweasel-libre/PKGBUILD @@ -21,7 +21,7 @@ debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; } _pkgname=iceweasel pkgname=iceweasel-libre -pkgver=${_debver}.${_debrel} +pkgver=$_debver.$_debrel pkgrel=1 if [ -z "$pkgname" ]; then pkgname=$_pkgname; fi @@ -42,11 +42,12 @@ fi url="http://www.geticeweasel.org/" install=iceweasel.install -source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.bz2" - "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.debian.tar.gz" +source=("$_debrepo/`debfile $_debname`_$_debver.orig.tar.bz2" + "$_debrepo/`debfile $_debname`_$_debver-$_debrel.debian.tar.gz" mozconfig mozconfig.pgo libre.patch + iceweasel.desktop iceweasel-install-dir.patch vendor.js shared-libs.patch @@ -56,6 +57,7 @@ md5sums=('37b9b7eafc8affa9b8a5942f8ff19f8f' 'eab149c1994ab14392e55af3abb08e80' 'ac29b01c189f20abae2f3eef1618ffc0' 'c8040002668fae7d1b950833bae51607' + '2823e0ecdefc16b590a9997f9228924a' 'abf5ecb74caa857abb42bcfbb3442d9c' '0d053487907de4376d67d8f499c5502b' '52e52f840a49eb1d14be1c0065b03a93' @@ -73,8 +75,8 @@ build() { export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/$_pkgname" export PYTHON="/usr/bin/python2" export DEBIAN_BUILD="mozilla-release" - mv debian "${srcdir}/${DEBIAN_BUILD}" - cd "${srcdir}/${DEBIAN_BUILD}" + mv debian "$srcdir/$DEBIAN_BUILD" + cd "$srcdir/$DEBIAN_BUILD" # Doesn't apply and seems unimportant rm -v debian/patches/l10n/Place-google-and-gmail-before-yandex.patch || true @@ -134,7 +136,7 @@ build() { } package() { - cd "${srcdir}/${DEBIAN_BUILD}" + cd "$srcdir/$DEBIAN_BUILD" make -j1 -f client.mk DESTDIR="$pkgdir" install install -Dm644 "$srcdir"/vendor.js "$pkgdir/usr/lib/$_pkgname/defaults/preferences/vendor.js" @@ -149,9 +151,8 @@ package() { install -Dm644 "$brandingdir/mozicon128.png" "$icondir/128x128/apps/$_pkgname.png" install -Dm644 "$_brandingdir/iceweasel_icon.svg" "$icondir/scalable/apps/$_pkgname.svg" - install -d "$pkgdir/usr/share/applications" - install -m644 debian/iceweasel.desktop "$pkgdir/usr/share/applications" - #install -m644 debian/iceweasel-safe.desktop "$pkgdir/usr/share/applications" + install -d "$pkgdir/usr/share/applications" + install -m644 "$srcdir/iceweasel.desktop" "$pkgdir/usr/share/applications" rm -rf "$pkgdir/usr/lib/$_pkgname/"{dictionaries,hyphenation,searchplugins,plugins} ln -sf /usr/share/hunspell "$pkgdir/usr/lib/$_pkgname/dictionaries" |