Date: Wednesday, September 8, 2021 @ 19:10:43
  Author: spupykin
Revision: 1012961

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   54 ++++++++++++++++++++++++++++++------------------------
 1 file changed, 30 insertions(+), 24 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-09-08 19:10:31 UTC (rev 1012960)
+++ PKGBUILD    2021-09-08 19:10:43 UTC (rev 1012961)
@@ -1,24 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
-# Maintainer: Eli Schwartz <eschwa...@archlinux.org>
-
-pkgname=firefox-adblock-plus
-pkgver=3.11.1
-pkgrel=3
-_file=3816113
-pkgdesc="Extension for firefox which block ads and banners"
-arch=('any')
-url="https://adblockplus.org/";
-license=('GPL3')
-groups=('firefox-addons')
-# 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=('9d12bfa4608213455538d6cd28d0ad61a64d5ba83c40a0b273156f7a8899f6ca')
-
-package() {
-  depends=("firefox")
-
-  _extension_id="{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}"
-  
_extension_dest="${pkgdir}/usr/lib/firefox/browser/extensions/${_extension_id}"
-  install -Dm644 "${srcdir}"/adblock-plus-${pkgver}.xpi 
"${_extension_dest}.xpi"
-}

Copied: firefox-adblock-plus/repos/community-any/PKGBUILD (from rev 1012960, 
firefox-adblock-plus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-09-08 19:10:43 UTC (rev 1012961)
@@ -0,0 +1,30 @@
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Maintainer: Eli Schwartz <eschwa...@archlinux.org>
+
+pkgname=firefox-adblock-plus
+pkgver=3.11.2
+pkgrel=1
+_file=3833352
+pkgdesc="Extension for firefox which block ads and banners"
+arch=('any')
+url="https://adblockplus.org/";
+license=('GPL3')
+makedepends=('unzip' 'jq')
+groups=('firefox-addons')
+# 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=('1d52e050eb0e70407df83d2da8633a5944afa375c136aa8fea03229470630d05')
+
+check() {
+  unzip adblock-plus-$pkgver.xpi manifest.json
+  jq '.version' manifest.json | grep -E '^"'$pkgver'"$'
+}
+
+package() {
+  depends=("firefox")
+
+  _extension_id="{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}"
+  
_extension_dest="${pkgdir}/usr/lib/firefox/browser/extensions/${_extension_id}"
+  install -Dm644 "${srcdir}"/adblock-plus-${pkgver}.xpi 
"${_extension_dest}.xpi"
+}

Reply via email to