[arch-commits] Commit in dark-reader/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Wed Aug 10 16:39:49 UTC 2022
Date: Wednesday, August 10, 2022 @ 16:39:49
Author: polyzen
Revision: 1265056
archrelease: copy trunk to community-any
Added:
dark-reader/repos/community-any/PKGBUILD
(from rev 1265055, dark-reader/trunk/PKGBUILD)
Deleted:
dark-reader/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-10 16:39:30 UTC (rev 1265055)
+++ PKGBUILD 2022-08-10 16:39:49 UTC (rev 1265056)
@@ -1,50 +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.53
-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=('8dde61b39636dcd940f29595b37b699128856debf383f9ed0b7bd06e9675d602de1334867e67acd56373473be00061ccf8a0d9d8af9c742d78808f28bfbeaf0c')
-
-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
-}
Copied: dark-reader/repos/community-any/PKGBUILD (from rev 1265055, dark-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-10 16:39:49 UTC (rev 1265056)
@@ -0,0 +1,50 @@
+# 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.54
+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=('fc3d33b706ead4bb4889a793d14c26c8353f676be1f8a369c17642490879545ccdcfdc2fcdf97a5630070c691db26ea7ea211dcf2056a3cfe88e68793aafcb22')
+
+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
+}
More information about the arch-commits
mailing list