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

Daniel M. Capella polyzen at gemini.archlinux.org
Tue Sep 21 19:52:29 UTC 2021


    Date: Tuesday, September 21, 2021 @ 19:52:29
  Author: polyzen
Revision: 1020843

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-21 19:52:09 UTC (rev 1020842)
+++ PKGBUILD	2021-09-21 19:52:29 UTC (rev 1020843)
@@ -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.35
-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=('3c7c6023d26d9059a3de607a068029e89609b53ba2fe6bbd55e00f744d220154d545b49b8b402436b28527282138ae2b27df10bbcc0505a747e3ea03f5f5e384')
-
-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 1020842, dark-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-21 19:52:29 UTC (rev 1020843)
@@ -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.36
+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=('cb61e7a3dca58220b0ecf8ce78813bafdf63622a46276c6bf40a4fc8538f9212648fcd54d80ca18e3edab08d6d4c8ac9419ba27a90c68fd37931fab9ff4355a7')
+
+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