From 02e8ea7918564960b15bf4f9a0abb0468a3433d8 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 28 May 2014 13:33:10 -0300 Subject: ice{cat,weasel}-adblock-plus-2.6.1-1: updating version --- libre/icecat-adblock-plus/PKGBUILD | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'libre/icecat-adblock-plus') 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 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#.*#20.*#' install.rdf cp -R * $dstdir rm $dstdir/*.xpi find $pkgdir -type d -exec chmod 0755 {} \; -- cgit v1.2.3-54-g00ecf