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

Daniel M. Capella polyzen at gemini.archlinux.org
Fri Feb 4 20:55:58 UTC 2022


    Date: Friday, February 4, 2022 @ 20:55:58
  Author: polyzen
Revision: 1126009

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-04 20:55:39 UTC (rev 1126008)
+++ PKGBUILD	2022-02-04 20:55:58 UTC (rev 1126009)
@@ -1,52 +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.43
-pkgrel=1
-pkgdesc='Inverts brightness of web pages and aims to reduce eyestrain while browsing the web'
-arch=('any')
-url=https://darkreader.org/
-license=('MIT')
-makedepends=('npm' 'strip-nondeterminism')
-source=("https://github.com/darkreader/darkreader/archive/v$pkgver/darkreader-$pkgver.tar.gz")
-b2sums=('ba226d802bb637d9889b4f7c872a84303aba3f75d6105d1f2d4d81aeb284a088aa0d60f00759f7c1a144d3afc6900aec490c1700fdec922c316b307e87ff77a9')
-
-prepare() {
-  cd darkreader-$pkgver
-  npm ci
-}
-
-build() {
-  cd darkreader-$pkgver
-  npm run build
-  strip-nondeterminism -t zip build/release/*.xpi
-}
-
-check() {
-  cd darkreader-$pkgver
-  npm test
-}
-
-package_dark-reader() {
-  pkgdesc+=' (unpacked webextension)'
-  cd darkreader-$pkgver/build/release/chrome
-  install -d "$pkgdir"/usr/lib/$pkgbase
-  cp -r -- * "$pkgdir"/usr/lib/$pkgbase
-}
-
-package_firefox-dark-reader() {
-  groups=('firefox-addons')
-  cd darkreader-$pkgver/build/release
-  install -Dm644 darkreader-firefox.xpi \
-    "$pkgdir"/usr/lib/firefox/browser/extensions/addon at darkreader.org.xpi
-}
-
-package_thunderbird-dark-reader() {
-  cd darkreader-$pkgver/build/release
-  install -Dm644 darkreader-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 1126008, dark-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-04 20:55:58 UTC (rev 1126009)
@@ -0,0 +1,52 @@
+# 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.44
+pkgrel=1
+pkgdesc='Inverts brightness of web pages and aims to reduce eyestrain while browsing the web'
+arch=('any')
+url=https://darkreader.org/
+license=('MIT')
+makedepends=('npm' 'strip-nondeterminism')
+source=("https://github.com/darkreader/darkreader/archive/v$pkgver/darkreader-$pkgver.tar.gz")
+b2sums=('bc473ffb6c17ff76364a2f5a60170193019955dacae3e997dd354baa68952820d03636d97c9d3c5f45090600c53f7eec4129e82bcc2a0532f1b23ea7aa70657d')
+
+prepare() {
+  cd darkreader-$pkgver
+  npm ci
+}
+
+build() {
+  cd darkreader-$pkgver
+  npm run build
+  strip-nondeterminism -t zip build/release/*.xpi
+}
+
+check() {
+  cd darkreader-$pkgver
+  npm test
+}
+
+package_dark-reader() {
+  pkgdesc+=' (unpacked webextension)'
+  cd darkreader-$pkgver/build/release/chrome
+  install -d "$pkgdir"/usr/lib/$pkgbase
+  cp -r -- * "$pkgdir"/usr/lib/$pkgbase
+}
+
+package_firefox-dark-reader() {
+  groups=('firefox-addons')
+  cd darkreader-$pkgver/build/release
+  install -Dm644 darkreader-firefox.xpi \
+    "$pkgdir"/usr/lib/firefox/browser/extensions/addon at darkreader.org.xpi
+}
+
+package_thunderbird-dark-reader() {
+  cd darkreader-$pkgver/build/release
+  install -Dm644 darkreader-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