summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/iceweasel-adblock-plus/PKGBUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/libre/iceweasel-adblock-plus/PKGBUILD b/libre/iceweasel-adblock-plus/PKGBUILD
index 81648fbcd..a0df3439d 100644
--- a/libre/iceweasel-adblock-plus/PKGBUILD
+++ b/libre/iceweasel-adblock-plus/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=firefox-adblock-plus
pkgname=iceweasel-adblock-plus
pkgver=2.3.1
_addons_file=206960
-pkgrel=1
+pkgrel=1.1
pkgdesc="plugin for iceweasel which block ads and banners"
arch=('any')
url="http://adblockplus.org/"
@@ -23,10 +23,8 @@ package() {
# depends=("iceweasel-libre>=${_ffver}" "iceweasel-libre<=${_ffver/0/99}")
cd $srcdir
- [ $NOEXTRACT -eq 1 ] || unzip adblock_plus-$pkgver-fx+tb+fn+sm.xpi
local emid=$(sed -n -e '/<\?em:id>\?/!d; s/.*\([\"{].*[}\"]\).*/\1/; s/\"//g; p; q' install.rdf)
local dstdir=$pkgdir/usr/lib/iceweasel/browser/extensions/${emid}
- [ -n ${emid} ] || return 1
install -d $dstdir
# sed -i 's#<em:maxVersion>.*</em:maxVersion>#<em:maxVersion>20.*</em:maxVersion>#' install.rdf
cp -R * $dstdir