summaryrefslogtreecommitdiff
path: root/libre/iceweasel-adblock-plus
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-14 22:39:22 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-14 22:39:22 -0300
commit7a4ba10c889d63b7788a57b9c099531fd675eb26 (patch)
treee45048c52acb42bdb7c495761ec8ef84067b17fb /libre/iceweasel-adblock-plus
parentd1a47e1cc796d5f21d59ef90aca3aae9f684ea13 (diff)
downloadabslibre-7a4ba10c889d63b7788a57b9c099531fd675eb26.tar.gz
abslibre-7a4ba10c889d63b7788a57b9c099531fd675eb26.tar.bz2
abslibre-7a4ba10c889d63b7788a57b9c099531fd675eb26.zip
iceweasel-adblock-plus: revert changes
Diffstat (limited to 'libre/iceweasel-adblock-plus')
-rw-r--r--libre/iceweasel-adblock-plus/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/libre/iceweasel-adblock-plus/PKGBUILD b/libre/iceweasel-adblock-plus/PKGBUILD
index a0df3439d..81648fbcd 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.1
+pkgrel=1
pkgdesc="plugin for iceweasel which block ads and banners"
arch=('any')
url="http://adblockplus.org/"
@@ -23,8 +23,10 @@ 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