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

Daniel M. Capella polyzen at archlinux.org
Fri Jan 22 17:15:07 UTC 2021


    Date: Friday, January 22, 2021 @ 17:15:07
  Author: polyzen
Revision: 824645

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   62 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 35 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-22 17:14:48 UTC (rev 824644)
+++ PKGBUILD	2021-01-22 17:15:07 UTC (rev 824645)
@@ -1,27 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Cookie Engineer <cookiengineer at protonmail.ch>
-
-pkgname=firefox-dark-reader
-pkgver=4.9.26
-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')
-groups=('firefox-addons')
-makedepends=('nodejs' 'npm')
-source=("https://github.com/darkreader/darkreader/archive/v$pkgver/darkreader-v$pkgver.tar.gz")
-b2sums=('9ca8df8eb5f695ee8ee2d4694afa170ca206e5d4468370dc24b3704d6313e4f45939faff398f48df48125b6411b7f74e241d47680ea358dbf52f12e6ac8811d5')
-
-build() {
-  cd darkreader-$pkgver
-  npm install
-  npm run build
-}
-
-package() {
-  cd darkreader-$pkgver
-  install -Dm644 build-firefox.xpi "$pkgdir"/usr/lib/firefox/browser/extensions/addon at darkreader.org.xpi
-}
-
-# vim:set ts=2 sw=2 et:

Copied: firefox-dark-reader/repos/community-any/PKGBUILD (from rev 824644, firefox-dark-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-22 17:15:07 UTC (rev 824645)
@@ -0,0 +1,35 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Cookie Engineer <cookiengineer at protonmail.ch>
+
+pkgname=firefox-dark-reader
+pkgver=4.9.27
+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')
+groups=('firefox-addons')
+makedepends=('npm')
+source=("https://github.com/darkreader/darkreader/archive/v$pkgver/darkreader-v$pkgver.tar.gz")
+b2sums=('2e5e886eb02ec1dccdd6036dcc0d82b0fb777043d516809667658f392b6ec41326ca9dd167fa685a1d114f053cb8ecc256437ebf740b13d0de10c71b64990f70')
+
+build() {
+  cd darkreader-$pkgver
+  npm install
+  npm run build
+}
+
+check() {
+  cd darkreader-$pkgver
+  npm test
+}
+
+package() {
+  cd darkreader-$pkgver
+  install -Dm644 build-firefox.xpi "$pkgdir"/usr/lib/firefox/browser/extensions/addon at darkreader.org.xpi
+  install -d "$pkgdir"/usr/lib/thunderbird/extensions
+  ln -s /usr/lib/firefox/browser/extensions/addon at darkreader.org.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