summaryrefslogtreecommitdiff
path: root/libre/iceweasel/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2017-06-16 07:42:06 +0200
committerAndreas Grapentin <andreas@grapentin.org>2017-06-16 08:00:30 +0200
commit79d9170b430c631e2e8942d7a42e7d5fcad80ce6 (patch)
tree7c8e753a7ccd4ce2493fc1b3cada04d6a1aabbe7 /libre/iceweasel/PKGBUILD
parenta7eb14bf2d27822b4c60e58eb363361884d11824 (diff)
downloadabslibre-79d9170b430c631e2e8942d7a42e7d5fcad80ce6.tar.gz
abslibre-79d9170b430c631e2e8942d7a42e7d5fcad80ce6.tar.bz2
abslibre-79d9170b430c631e2e8942d7a42e7d5fcad80ce6.zip
libre/iceweasel: fixing user agent
Diffstat (limited to 'libre/iceweasel/PKGBUILD')
-rw-r--r--libre/iceweasel/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index 823ccb40f..762df076e 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -20,7 +20,7 @@ pkgname=iceweasel
epoch=1
pkgver=54.0
-pkgrel=1
+pkgrel=2
_brandingver=54.0
_brandingrel=1
_parabolarepo=https://repo.parabola.nu/other/iceweasel
@@ -70,7 +70,7 @@ sha256sums=('08a9ff6870d904a2af1d03c17c6c44f67413608efb66bb280894d7b92c336a77'
'56eba484179c7f498076f8dc603d8795e99dce8c6ea1da9736318c59d666bff6'
'250f7aaa3c1362f9d2bb2211cd605eab93a5e806e8540f184979d41acf46142a'
'46e588300797bda599c8f5157437fd79f88b6e1179f2fde49e0405e435e03efa'
- '90bdede15c2e85e5d081e2b822884a6354a116868ba7d9e19a2484a4e2528aaf'
+ '085b968e613a5aadbc8cbec20f4db80d76c4fd7cfe75642babefa6385663cbb5'
'd28b14a870aa100273243039d08ab9e64d325c28b6291413441146ebdf5d38ee'
'9765bca5d63fb5525bbd0520b7ab1d27cabaed697e2fc7791400abc3fa4f13b8'
'e260e555b261aabab1e48786dd514eeea056e4402af7cfd4dfd1d32858441484'
@@ -189,7 +189,9 @@ package() {
make -f client.mk DESTDIR="$pkgdir" INSTALL_SDK= install
- install -Dm644 ../vendor.js "$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js"
+ install -Dm644 "$srcdir/vendor.js" "$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js"
+ local shortver=$(echo $pkgver | cut -d'.' -f1,2)
+ sed -i "s/@PKGVER@/$shortver/" "$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js"
local brandingdir="$srcdir/$pkgname-$_brandingver"