[arch-commits] Commit in firefox-temporary-containers/repos (2 files)

Daniel M. Capella polyzen at archlinux.org
Tue Feb 9 00:10:40 UTC 2021


    Date: Tuesday, February 9, 2021 @ 00:10:40
  Author: polyzen
Revision: 850632

archrelease: copy trunk to community-any

Added:
  firefox-temporary-containers/repos/community-any/
  firefox-temporary-containers/repos/community-any/PKGBUILD
    (from rev 850631, firefox-temporary-containers/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: firefox-temporary-containers/repos/community-any/PKGBUILD (from rev 850631, firefox-temporary-containers/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-02-09 00:10:40 UTC (rev 850632)
@@ -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