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

Daniel M. Capella polyzen at archlinux.org
Thu Feb 11 23:28:33 UTC 2021


    Date: Thursday, February 11, 2021 @ 23:28:33
  Author: polyzen
Revision: 856812

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   58 +++++++++++++++++++++++++++++++---------------------------
 1 file changed, 31 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-11 23:28:03 UTC (rev 856811)
+++ PKGBUILD	2021-02-11 23:28:33 UTC (rev 856812)
@@ -1,27 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=firefox-stylus
-pkgver=1.5.15
-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=('92dbebdcf65b756d107daa49a7567fc671a58d0beaf82153adada9683477ae4f8a870b96d50fca2417fbe42492ce23d7b47cf2777f15b1c1023dc737b871f6b2')
-
-build() {
-  cd stylus-$pkgver
-  npm install --frozen-lockfile
-  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:

Copied: firefox-stylus/repos/community-any/PKGBUILD (from rev 856811, firefox-stylus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-11 23:28:33 UTC (rev 856812)
@@ -0,0 +1,31 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=firefox-stylus
+pkgver=1.5.15
+pkgrel=2
+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' 'npm')
+source=("https://github.com/openstyles/stylus/archive/v$pkgver/stylus-v$pkgver.tar.gz")
+b2sums=('92dbebdcf65b756d107daa49a7567fc671a58d0beaf82153adada9683477ae4f8a870b96d50fca2417fbe42492ce23d7b47cf2777f15b1c1023dc737b871f6b2')
+
+prepare() {
+  git config --global url."https://github.com".insteadOf ssh://git@github.com
+}
+
+build() {
+  cd stylus-$pkgver
+  npm ci
+  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