[arch-commits] Commit in firefox-adblock-plus/repos/community-any (PKGBUILD PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Feb 4 10:00:31 UTC 2013
Date: Monday, February 4, 2013 @ 11:00:31
Author: spupykin
Revision: 83648
archrelease: copy trunk to community-any
Added:
firefox-adblock-plus/repos/community-any/PKGBUILD
(from rev 83647, firefox-adblock-plus/trunk/PKGBUILD)
Deleted:
firefox-adblock-plus/repos/community-any/PKGBUILD
----------+
PKGBUILD | 65 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-04 10:00:17 UTC (rev 83647)
+++ PKGBUILD 2013-02-04 10:00:31 UTC (rev 83648)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=firefox-adblock-plus
-pkgver=2.2.1
-_addons_file=179004
-pkgrel=3
-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=('150a6661f97a5fc2f15b084867865f4e')
-
-build() {
-# _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/extensions/${emid}
- 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 83647, firefox-adblock-plus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-02-04 10:00:31 UTC (rev 83648)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=firefox-adblock-plus
+pkgver=2.2.2
+_addons_file=179004
+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=('150a6661f97a5fc2f15b084867865f4e')
+
+build() {
+# _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/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 {} \;
+}
More information about the arch-commits
mailing list