[arch-commits] Commit in firefox-dark-reader/trunk (PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Fri Jan 22 17:14:49 UTC 2021


    Date: Friday, January 22, 2021 @ 17:14:48
  Author: polyzen
Revision: 824644

upgpkg: firefox-dark-reader 4.9.27-1

Modified:
  firefox-dark-reader/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-22 17:14:27 UTC (rev 824643)
+++ PKGBUILD	2021-01-22 17:14:48 UTC (rev 824644)
@@ -2,7 +2,7 @@
 # Contributor: Cookie Engineer <cookiengineer at protonmail.ch>
 
 pkgname=firefox-dark-reader
-pkgver=4.9.26
+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/
@@ -9,9 +9,9 @@
 arch=('any')
 license=('MIT')
 groups=('firefox-addons')
-makedepends=('nodejs' 'npm')
+makedepends=('npm')
 source=("https://github.com/darkreader/darkreader/archive/v$pkgver/darkreader-v$pkgver.tar.gz")
-b2sums=('9ca8df8eb5f695ee8ee2d4694afa170ca206e5d4468370dc24b3704d6313e4f45939faff398f48df48125b6411b7f74e241d47680ea358dbf52f12e6ac8811d5')
+b2sums=('2e5e886eb02ec1dccdd6036dcc0d82b0fb777043d516809667658f392b6ec41326ca9dd167fa685a1d114f053cb8ecc256437ebf740b13d0de10c71b64990f70')
 
 build() {
   cd darkreader-$pkgver
@@ -27,6 +27,9 @@
 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