[arch-commits] Commit in dark-reader/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Fri May 28 22:36:29 UTC 2021


    Date: Friday, May 28, 2021 @ 22:36:28
  Author: polyzen
Revision: 950077

archrelease: copy trunk to community-any

Added:
  dark-reader/repos/community-any/PKGBUILD
    (from rev 950076, dark-reader/trunk/PKGBUILD)
Deleted:
  dark-reader/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-28 22:36:09 UTC (rev 950076)
+++ PKGBUILD	2021-05-28 22:36:28 UTC (rev 950077)
@@ -1,48 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Cookie Engineer <cookiengineer at protonmail.ch>
-
-pkgname=('dark-reader' 'firefox-dark-reader' 'thunderbird-dark-reader')
-pkgbase=dark-reader
-pkgver=4.9.32
-pkgrel=1
-pkgdesc='Inverts brightness of web pages and aims to reduce eyestrain while browsing the web'
-url=https://darkreader.org/
-arch=('any')
-license=('MIT')
-makedepends=('npm' 'strip-nondeterminism')
-source=("https://github.com/darkreader/darkreader/archive/v$pkgver/darkreader-$pkgver.tar.gz")
-b2sums=('cf18f679c64f4b2b87a41d3a67d49ffae23f91c66cdb1ddad2874a136a09960446e473bdcdd2ccfabcd4cbe60fcf0b8fa17e19a9a8b9beeb85b6c8eb62173307')
-
-build() {
-  cd darkreader-$pkgver
-  npm ci
-  npm run build
-  strip-nondeterminism -t zip build-*.xpi
-}
-
-check() {
-  cd darkreader-$pkgver
-  npm test
-}
-
-package_dark-reader() {
-  pkgdesc+=' (unpacked webextension)'
-  cd darkreader-$pkgver
-  install -d "$pkgdir"/usr/lib/$pkgbase
-  cp -r build/* "$pkgdir"/usr/lib/$pkgbase
-}
-
-package_firefox-dark-reader() {
-  groups=('firefox-addons')
-  cd darkreader-$pkgver
-  install -Dm644 build-firefox.xpi \
-    "$pkgdir"/usr/lib/firefox/browser/extensions/addon at darkreader.org.xpi
-}
-
-package_thunderbird-dark-reader() {
-  cd darkreader-$pkgver
-  install -Dm644 build-thunderbird.xpi \
-    "$pkgdir"/usr/lib/thunderbird/extensions/addon at darkreader.org.xpi
-}
-
-# vim:set ts=2 sw=2 et:

Copied: dark-reader/repos/community-any/PKGBUILD (from rev 950076, dark-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-28 22:36:28 UTC (rev 950077)
@@ -0,0 +1,48 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Cookie Engineer <cookiengineer at protonmail.ch>
+
+pkgname=('dark-reader' 'firefox-dark-reader' 'thunderbird-dark-reader')
+pkgbase=dark-reader
+pkgver=4.9.33
+pkgrel=1
+pkgdesc='Inverts brightness of web pages and aims to reduce eyestrain while browsing the web'
+url=https://darkreader.org/
+arch=('any')
+license=('MIT')
+makedepends=('npm' 'strip-nondeterminism')
+source=("https://github.com/darkreader/darkreader/archive/v$pkgver/darkreader-$pkgver.tar.gz")
+b2sums=('00ebad6d81d74c8069b3d07e5698584dde57018e290dc795a0a19c6acf5ca75f8dfa58e7c95e4e3efb5a88a1f3299af76f791649ad01ad1a503fb9a14495b960')
+
+build() {
+  cd darkreader-$pkgver
+  npm ci
+  npm run build
+  strip-nondeterminism -t zip build-*.xpi
+}
+
+check() {
+  cd darkreader-$pkgver
+  npm test
+}
+
+package_dark-reader() {
+  pkgdesc+=' (unpacked webextension)'
+  cd darkreader-$pkgver
+  install -d "$pkgdir"/usr/lib/$pkgbase
+  cp -r build/* "$pkgdir"/usr/lib/$pkgbase
+}
+
+package_firefox-dark-reader() {
+  groups=('firefox-addons')
+  cd darkreader-$pkgver
+  install -Dm644 build-firefox.xpi \
+    "$pkgdir"/usr/lib/firefox/browser/extensions/addon at darkreader.org.xpi
+}
+
+package_thunderbird-dark-reader() {
+  cd darkreader-$pkgver
+  install -Dm644 build-thunderbird.xpi \
+    "$pkgdir"/usr/lib/thunderbird/extensions/addon at darkreader.org.xpi
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list