[arch-commits] Commit in dark-reader/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Fri Nov 5 13:43:26 UTC 2021
Date: Friday, November 5, 2021 @ 13:43:26
Author: polyzen
Revision: 1037208
archrelease: copy trunk to community-any
Added:
dark-reader/repos/community-any/PKGBUILD
(from rev 1037207, 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-05 13:43:07 UTC (rev 1037207)
+++ PKGBUILD 2021-11-05 13:43:26 UTC (rev 1037208)
@@ -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 1037207, dark-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-05 13:43:26 UTC (rev 1037208)
@@ -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.41
+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=('650f94de833936057611f10edb1e811d8cbb82770cc7709ec269ceb8509f0346d052201d589e2a22c90faffbce4e5fcb0f53cb3649b67208e5fc90ce7be4d5fc')
+
+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