[arch-commits] Commit in browserpass-chromium/repos/community-any (PKGBUILD PKGBUILD)
Maxim Baz
maximbaz at archlinux.org
Mon Apr 15 21:24:36 UTC 2019
Date: Monday, April 15, 2019 @ 21:24:36
Author: maximbaz
Revision: 451731
archrelease: copy trunk to community-any
Added:
browserpass-chromium/repos/community-any/PKGBUILD
(from rev 451730, browserpass-chromium/trunk/PKGBUILD)
Deleted:
browserpass-chromium/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-15 21:24:13 UTC (rev 451730)
+++ PKGBUILD 2019-04-15 21:24:36 UTC (rev 451731)
@@ -1,43 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-_id=pjmbgaakjkbhpopmakjoedenlfdmcdgm
-_name=browserpass-extension
-pkgname=browserpass-chromium
-pkgver=3.0.12
-pkgrel=1
-pkgdesc="Chromium extension for Browserpass, browser extension for zx2c4's pass (password manager)"
-arch=('any')
-url="https://github.com/browserpass/${_name}"
-license=('ISC')
-depends=('browserpass')
-source=("${pkgname}-${pkgver}.crx::${url}/releases/download/${pkgver}/browserpass-github-${pkgver}.crx"
- "${pkgname}-${pkgver}.crx.asc::${url}/releases/download/${pkgver}/browserpass-github-${pkgver}.crx.asc"
- "https://raw.githubusercontent.com/browserpass/browserpass-extension/master/LICENSE")
-noextract=("${pkgname}-${pkgver}.crx")
-sha256sums=('9f30c929c1245d8abb8b83021a8ef7cf2363da3fd91a78ec0f6a7bcb7af8441f'
- 'SKIP'
- 'f9fc49e2b3977f857bf3cbfbeb193bab8b2e17545978c162409d5270e6e0405a')
-validpgpkeys=('EB4F9E5A60D32232BB52150C12C87A28FEAC6B20')
-
-prepare() {
- # Create extension json
- cat << EOF > "${_id}".json
-{
- "external_crx": "/usr/lib/${pkgname}/${pkgname}-${pkgver}.crx",
- "external_version": "${pkgver}"
-}
-EOF
-}
-
-package() {
- install -Dm644 -t "${pkgdir}/usr/share/chromium/extensions/" "${_id}.json"
- install -Dm644 -t "${pkgdir}/usr/lib/${pkgname}/" "${pkgname}-${pkgver}.crx"
-
- # Install host json from browserpass package
- install -dm755 "${pkgdir}/etc/chromium/native-messaging-hosts/"
- ln -sf "/usr/lib/browserpass/hosts/chromium/com.github.browserpass.native.json" "${pkgdir}/etc/chromium/native-messaging-hosts/"
-
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
-}
-
-# vim:set ts=4 sw=4 et:
Copied: browserpass-chromium/repos/community-any/PKGBUILD (from rev 451730, browserpass-chromium/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-15 21:24:36 UTC (rev 451731)
@@ -0,0 +1,43 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+_id=pjmbgaakjkbhpopmakjoedenlfdmcdgm
+_name=browserpass-extension
+pkgname=browserpass-chromium
+pkgver=3.0.12
+pkgrel=1
+pkgdesc="Chromium extension for Browserpass, browser extension for zx2c4's pass (password manager)"
+arch=('any')
+url="https://github.com/browserpass/${_name}"
+license=('ISC')
+depends=('browserpass')
+source=("${pkgname}-${pkgver}.crx::${url}/releases/download/${pkgver}/browserpass-github-${pkgver}.crx"
+ "${pkgname}-${pkgver}.crx.asc::${url}/releases/download/${pkgver}/browserpass-github-${pkgver}.crx.asc"
+ "https://raw.githubusercontent.com/browserpass/browserpass-extension/master/LICENSE")
+noextract=("${pkgname}-${pkgver}.crx")
+sha256sums=('9f30c929c1245d8abb8b83021a8ef7cf2363da3fd91a78ec0f6a7bcb7af8441f'
+ 'SKIP'
+ 'f9fc49e2b3977f857bf3cbfbeb193bab8b2e17545978c162409d5270e6e0405a')
+validpgpkeys=('EB4F9E5A60D32232BB52150C12C87A28FEAC6B20')
+
+prepare() {
+ # Create extension json
+ cat << EOF > "${_id}".json
+{
+ "external_crx": "/usr/lib/${pkgname}/${pkgname}-${pkgver}.crx",
+ "external_version": "${pkgver}"
+}
+EOF
+}
+
+package() {
+ install -Dm644 -t "${pkgdir}/usr/share/chromium/extensions/" "${_id}.json"
+ install -Dm644 -t "${pkgdir}/usr/lib/${pkgname}/" "${pkgname}-${pkgver}.crx"
+
+ # Install host json from browserpass package
+ install -dm755 "${pkgdir}/etc/chromium/native-messaging-hosts/"
+ ln -sf "/usr/lib/browserpass/hosts/chromium/com.github.browserpass.native.json" "${pkgdir}/etc/chromium/native-messaging-hosts/"
+
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
+}
+
+# vim:set ts=4 sw=4 et:
More information about the arch-commits
mailing list