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

Daniel M. Capella polyzen at archlinux.org
Fri Nov 27 08:22:49 UTC 2020


    Date: Friday, November 27, 2020 @ 08:22:49
  Author: polyzen
Revision: 763989

archrelease: copy trunk to community-any

Added:
  firefox-stylus/repos/community-any/PKGBUILD
    (from rev 763988, firefox-stylus/trunk/PKGBUILD)
Deleted:
  firefox-stylus/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   46 +++++++++++++++++++++++++++-------------------
 1 file changed, 27 insertions(+), 19 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-27 08:22:27 UTC (rev 763988)
+++ PKGBUILD	2020-11-27 08:22:49 UTC (rev 763989)
@@ -1,19 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=firefox-stylus
-pkgver=1.5.13
-pkgrel=1
-pkgdesc='Easily install themes and skins for many popular sites'
-url=https://add0n.com/stylus.html
-arch=('any')
-license=('GPL3')
-groups=('firefox-addons')
-source=("https://addons.cdn.mozilla.net/user-media/addons/814814/stylus-$pkgver-fx.xpi")
-noextract=("${source##*/}")
-sha256sums=('2bb379e655144e030ec931bab3ca01f11ee8710b4ff788a19977ed94f778a159')
-
-package() {
-  install -Dm644 "${source##*/}" "$pkgdir"/usr/lib/firefox/browser/extensions/{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}.xpi
-}
-
-# vim:set ts=2 sw=2 et:

Copied: firefox-stylus/repos/community-any/PKGBUILD (from rev 763988, firefox-stylus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-27 08:22:49 UTC (rev 763989)
@@ -0,0 +1,27 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=firefox-stylus
+pkgver=1.5.14
+pkgrel=1
+pkgdesc='Easily install themes and skins for many popular sites'
+url=https://add0n.com/stylus.html
+arch=('any')
+license=('GPL3')
+groups=('firefox-addons')
+makedepends=('git' 'nodejs' 'npm')
+source=("https://github.com/openstyles/stylus/archive/v$pkgver/stylus-v$pkgver.tar.gz")
+b2sums=('8e3591ccea567d4cdc74262b89ddedcfadac103f5b457edb4b0ddcbc8c5f602206732960194ed78aa5dc04157c8c285b2fd7a0969b2b53ae14ac65d09423a080')
+
+build() {
+  cd stylus-$pkgver
+  npm install
+  npm audit fix
+  npm run zip
+}
+
+package() {
+  cd stylus-$pkgver
+  install -Dm644 stylus.zip "$pkgdir"/usr/lib/firefox/browser/extensions/{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}.xpi
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list