[arch-commits] Commit in firefox-adblock-plus/repos/community-any (PKGBUILD PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Wed Nov 15 11:09:05 UTC 2017


    Date: Wednesday, November 15, 2017 @ 11:09:04
  Author: spupykin
Revision: 266858

archrelease: copy trunk to community-any

Added:
  firefox-adblock-plus/repos/community-any/PKGBUILD
    (from rev 266857, firefox-adblock-plus/trunk/PKGBUILD)
Deleted:
  firefox-adblock-plus/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 26 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-15 11:08:48 UTC (rev 266857)
+++ PKGBUILD	2017-11-15 11:09:04 UTC (rev 266858)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Eschwartz <eschwartz93 at gmail.com>
-
-pkgname=firefox-adblock-plus
-pkgver=2.9.1
-pkgrel=1
-_file=541651
-pkgdesc="Extension for firefox which block ads and banners"
-arch=('any')
-url="http://adblockplus.org/"
-license=('GPL')
-groups=('firefox-addons')
-depends=("firefox")
-makedepends=('unzip')
-# https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/versions/
-source=("https://addons.mozilla.org/firefox/downloads/file/${_file}/adblock-plus-${pkgver}.xpi")
-noextract=("adblock-plus-$pkgver.xpi")
-sha256sums=('2de5616ae0ad17fd6345c6f8f8ec5bd8a8db1bdf8d8dad9995857ad2d6454306')
-
-prepare() {
-  cd "${srcdir}"
-  unzip -qqo "adblock-plus-${pkgver}.xpi" -d "adblock-plus-${pkgver}"
-}
-
-package() {
-  cd "${srcdir}"
-
-  _extension_id="$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' adblock-plus-${pkgver}/install.rdf)"
-  _extension_dest="${pkgdir}/usr/lib/firefox/browser/extensions/${_extension_id}"
-  if grep '<em:unpack>true</em:unpack>' adblock-plus-${pkgver}/install.rdf > /dev/null; then
-    install -dm755 "${_extension_dest}"
-    cp -R adblock-plus-${pkgver}/* "${_extension_dest}"
-    chmod -R ugo+rX "${_extension_dest}"
-  else
-    install -Dm644 adblock-plus-${pkgver}.xpi "${_extension_dest}.xpi"
-  fi
-}

Copied: firefox-adblock-plus/repos/community-any/PKGBUILD (from rev 266857, firefox-adblock-plus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-15 11:09:04 UTC (rev 266858)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Eschwartz <eschwartz93 at gmail.com>
+
+pkgname=firefox-adblock-plus
+pkgver=3.0.1
+pkgrel=1
+_file=764081
+pkgdesc="Extension for firefox which block ads and banners"
+arch=('any')
+url="http://adblockplus.org/"
+license=('GPL')
+groups=('firefox-addons')
+depends=("firefox")
+makedepends=('unzip')
+# https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/versions/
+source=("https://addons.mozilla.org/firefox/downloads/file/${_file}/adblock-plus-${pkgver}.xpi")
+noextract=("adblock-plus-$pkgver.xpi")
+sha256sums=('0e9973e14e6a57871e797b72d044e30b252121822e233b73e3087f51a0bc5efc')
+
+package() {
+  cd "${srcdir}"
+  _extension_id="d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d"
+  _extension_dest="${pkgdir}/usr/lib/firefox/browser/extensions/${_extension_id}"
+  install -Dm644 adblock-plus-${pkgver}.xpi "${_extension_dest}.xpi"
+}


More information about the arch-commits mailing list