diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-05-28 13:33:10 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-05-28 13:33:10 -0300 |
commit | 02e8ea7918564960b15bf4f9a0abb0468a3433d8 (patch) | |
tree | 7faf61bddca7deb1d24b6f4091372744575a0ed8 /libre | |
parent | 3e12215be51a564cc87c01e4424114b7160a582c (diff) |
ice{cat,weasel}-adblock-plus-2.6.1-1: updating version
Diffstat (limited to 'libre')
-rw-r--r-- | libre/icecat-adblock-plus/PKGBUILD | 17 | ||||
-rw-r--r-- | libre/iceweasel-adblock-plus/PKGBUILD | 17 |
2 files changed, 12 insertions, 22 deletions
diff --git a/libre/icecat-adblock-plus/PKGBUILD b/libre/icecat-adblock-plus/PKGBUILD index 935584aa1..80c94c16b 100644 --- a/libre/icecat-adblock-plus/PKGBUILD +++ b/libre/icecat-adblock-plus/PKGBUILD @@ -1,9 +1,8 @@ -# $Id: PKGBUILD 110697 2014-05-05 09:47:45Z spupykin $ +# $Id: PKGBUILD 112006 2014-05-28 09:45:57Z spupykin $ # Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=icecat-adblock-plus -pkgver=2.6 -_addons_file=254870 +pkgver=2.6.1 pkgrel=1 pkgdesc="plugin for icecat which block ads and banners" arch=('any') @@ -12,21 +11,17 @@ license=('GPL') depends=("icecat") makedepends=('unzip') provides=(firefox-adblock-plus=$pkgver) -noextract=("adblock_plus-$pkgver-fx+tb+fn+sm.xpi") -source=(https://addons.mozilla.org/firefox/downloads/file/${_addons_file}/adblock_plus-$pkgver-fx+tb+fn+sm.xpi) -md5sums=('fa3ccbbd5f9ea6718fbb8cfbb321e556') +noextract=("adblockplus-$pkgver.xpi") +source=("https://downloads.adblockplus.org/adblockplus-$pkgver.xpi") +md5sums=('ad8c04f09515c92c948d384ddd3f6604') package() { -# _ffver=`pacman -Q firefox | cut -f2 -d\ | cut -f1-2 -d.` -# depends=("icecat>=${_ffver}" "icecat<=${_ffver/0/99}") - cd $srcdir - [ $NOEXTRACT -eq 1 ] || unzip adblock_plus-$pkgver-fx+tb+fn+sm.xpi + unzip adblockplus-$pkgver.xpi local emid=$(sed -n -e '/<\?em:id>\?/!d; s/.*\([\"{].*[}\"]\).*/\1/; s/\"//g; p; q' install.rdf) local dstdir=$pkgdir/usr/lib/icecat/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 rm $dstdir/*.xpi find $pkgdir -type d -exec chmod 0755 {} \; diff --git a/libre/iceweasel-adblock-plus/PKGBUILD b/libre/iceweasel-adblock-plus/PKGBUILD index 3b2077b2a..c4505269b 100644 --- a/libre/iceweasel-adblock-plus/PKGBUILD +++ b/libre/iceweasel-adblock-plus/PKGBUILD @@ -1,9 +1,8 @@ -# $Id: PKGBUILD 110697 2014-05-05 09:47:45Z spupykin $ +# $Id: PKGBUILD 112006 2014-05-28 09:45:57Z spupykin $ # Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=iceweasel-adblock-plus -pkgver=2.6 -_addons_file=254870 +pkgver=2.6.1 pkgrel=1 pkgdesc="plugin for iceweasel which block ads and banners" arch=('any') @@ -12,21 +11,17 @@ license=('GPL') depends=("iceweasel-libre") makedepends=('unzip') provides=(firefox-adblock-plus=$pkgver) -noextract=("adblock_plus-$pkgver-fx+tb+fn+sm.xpi") -source=(https://addons.mozilla.org/firefox/downloads/file/${_addons_file}/adblock_plus-$pkgver-fx+tb+fn+sm.xpi) -md5sums=('fa3ccbbd5f9ea6718fbb8cfbb321e556') +noextract=("adblockplus-$pkgver.xpi") +source=("https://downloads.adblockplus.org/adblockplus-$pkgver.xpi") +md5sums=('ad8c04f09515c92c948d384ddd3f6604') package() { -# _ffver=`pacman -Q firefox | cut -f2 -d\ | cut -f1-2 -d.` -# depends=("iceweasel-libre>=${_ffver}" "iceweasel-libre<=${_ffver/0/99}") - cd $srcdir - [ $NOEXTRACT -eq 1 ] || unzip adblock_plus-$pkgver-fx+tb+fn+sm.xpi + unzip adblockplus-$pkgver.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 rm $dstdir/*.xpi find $pkgdir -type d -exec chmod 0755 {} \; |