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

Daniel M. Capella polyzen at gemini.archlinux.org
Wed Nov 3 16:28:18 UTC 2021


    Date: Wednesday, November 3, 2021 @ 16:28:18
  Author: polyzen
Revision: 1035640

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-03 16:27:49 UTC (rev 1035639)
+++ PKGBUILD	2021-11-03 16:28:18 UTC (rev 1035640)
@@ -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.40
-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=('371622774aee3f15c50f7428eb60a0421412ce916a8cbb5daf51e9af0414e466b7d1c39cd39f652cf932569e95eaaa599c87eb354b4aea82120b5881fe83cee0')
-
-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 1035639, dark-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-03 16:28:18 UTC (rev 1035640)
@@ -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.40
+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=('371622774aee3f15c50f7428eb60a0421412ce916a8cbb5daf51e9af0414e466b7d1c39cd39f652cf932569e95eaaa599c87eb354b4aea82120b5881fe83cee0')
+
+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