[arch-commits] Commit in (4 files)
Daniel M. Capella
polyzen at archlinux.org
Tue Feb 9 00:10:13 UTC 2021
Date: Tuesday, February 9, 2021 @ 00:10:13
Author: polyzen
Revision: 850629
Add Temporary Containers Firefox addon
Added:
firefox-temporary-containers/
firefox-temporary-containers/repos/
firefox-temporary-containers/trunk/
firefox-temporary-containers/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Added: firefox-temporary-containers/trunk/PKGBUILD
===================================================================
--- firefox-temporary-containers/trunk/PKGBUILD (rev 0)
+++ firefox-temporary-containers/trunk/PKGBUILD 2021-02-09 00:10:13 UTC (rev 850629)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kamil Ćliwak <cameel2 at gmail.com>
+
+_name=temporary-containers
+pkgname=firefox-temporary-containers
+pkgver=1.9.2
+pkgrel=1
+pkgdesc='Open tabs, websites, and links in automatically managed disposable containers'
+arch=('any')
+url=https://github.com/stoically/temporary-containers
+license=('MIT')
+groups=('firefox-addons')
+makedepends=('git' 'npm')
+provides=('firefox-extension-temporary-containers')
+replaces=('firefox-extension-temporary-containers')
+source=("$url/archive/v$pkgver/$_name-v$pkgver.tar.gz")
+b2sums=('ab1bf45ac38e7bc3de52d3d25a62d1dcfbad01ae4c38e3e58a127de0a080c9126561399c7aeff4370fc6d7a782c748f4842a2ddbd639769069f84f3f940c000a')
+
+build() {
+ cd $_name-$pkgver
+ npm install --frozen-lockfile
+ npm run build:webpack
+ npm run webext:build
+}
+
+check() {
+ cd $_name-$pkgver
+ npm test
+}
+
+package() {
+ cd $_name-$pkgver
+ install -Dm644 web-ext-artifacts/temporary_containers-$pkgver.zip \
+ "$pkgdir"/usr/lib/firefox/browser/extensions/{c607c8df-14a7-4f28-894f-29e8722976af}.xpi
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list