summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-14 22:23:38 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-14 22:23:38 -0300
commitd1a47e1cc796d5f21d59ef90aca3aae9f684ea13 (patch)
treee3794538bd323bddf485a17739702fac1adbbd6e /libre
parenta86de4608d42e91beaa49522621ef2bc33650fc5 (diff)
iceweasel-adblock-plus: fix issues on the PKGBUILD
Diffstat (limited to 'libre')
-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