Date: Wednesday, May 28, 2014 @ 11:46:06 Author: spupykin Revision: 112007
archrelease: copy trunk to community-any Added: firefox-adblock-plus/repos/community-any/PKGBUILD (from rev 112006, firefox-adblock-plus/trunk/PKGBUILD) Deleted: firefox-adblock-plus/repos/community-any/PKGBUILD ----------+ PKGBUILD | 61 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 28 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-05-28 09:45:57 UTC (rev 112006) +++ PKGBUILD 2014-05-28 09:46:06 UTC (rev 112007) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgname=firefox-adblock-plus -pkgver=2.6 -_addons_file=254870 -pkgrel=1 -pkgdesc="plugin for firefox which block ads and banners" -arch=('any') -url="http://adblockplus.org/" -license=('GPL') -depends=("firefox") -makedepends=('unzip') -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') - -package() { -# _ffver=`pacman -Q firefox | cut -f2 -d\ | cut -f1-2 -d.` -# depends=("firefox>=${_ffver}" "firefox<=${_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/firefox/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 {} \; - find $pkgdir -type f -exec chmod 0644 {} \; -} Copied: firefox-adblock-plus/repos/community-any/PKGBUILD (from rev 112006, firefox-adblock-plus/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-05-28 09:46:06 UTC (rev 112007) @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=firefox-adblock-plus +pkgver=2.6.1 +pkgrel=1 +pkgdesc="plugin for firefox which block ads and banners" +arch=('any') +url="http://adblockplus.org/" +license=('GPL') +depends=("firefox") +makedepends=('unzip') +noextract=("adblockplus-$pkgver.xpi") +source=("https://downloads.adblockplus.org/adblockplus-$pkgver.xpi") +md5sums=('ad8c04f09515c92c948d384ddd3f6604') + +package() { + cd $srcdir + 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/firefox/browser/extensions/${emid} + [ -n ${emid} ] || return 1 + install -d $dstdir + cp -R * $dstdir + rm $dstdir/*.xpi + find $pkgdir -type d -exec chmod 0755 {} \; + find $pkgdir -type f -exec chmod 0644 {} \; +}