[arch-commits] Commit in browserpass-firefox/repos/community-any (PKGBUILD PKGBUILD)
Maxim Baz
maximbaz at archlinux.org
Wed Aug 26 14:48:23 UTC 2020
Date: Wednesday, August 26, 2020 @ 14:48:22
Author: maximbaz
Revision: 688933
archrelease: copy trunk to community-any
Added:
browserpass-firefox/repos/community-any/PKGBUILD
(from rev 688932, browserpass-firefox/trunk/PKGBUILD)
Deleted:
browserpass-firefox/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++-----------------------------------
1 file changed, 29 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-26 14:48:19 UTC (rev 688932)
+++ PKGBUILD 2020-08-26 14:48:22 UTC (rev 688933)
@@ -1,39 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-_id=browserpass at maximbaz.com
-_name=browserpass-extension
-pkgname=browserpass-firefox
-pkgver=3.5.0
-pkgrel=1
-pkgdesc="Firefox 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}.zip::${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.zip"
- "${pkgname}-${pkgver}.zip.asc::${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.zip.asc"
- "https://raw.githubusercontent.com/browserpass/browserpass-extension/master/LICENSE")
-noextract=("${pkgname}-${pkgver}.zip")
-sha256sums=('23dca2cd555f715ecc4ea6e49f82cfc74ac1001caa4339e3b45293fe2ea14bfe'
- 'SKIP'
- 'f9fc49e2b3977f857bf3cbfbeb193bab8b2e17545978c162409d5270e6e0405a')
-validpgpkeys=('EB4F9E5A60D32232BB52150C12C87A28FEAC6B20')
-
-prepare() {
- mkdir -p "${pkgname}-${pkgver}"
- bsdtar -vxf "${pkgname}-${pkgver}.zip" -C "${pkgname}-${pkgver}"
-}
-
-package() {
- _dest="${pkgdir}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/${_id}"
- install -dm755 "${_dest}"
- cp -a "${pkgname}-${pkgver}"/* "${_dest}"
-
- # Install host json from browserpass package
- install -dm755 "${pkgdir}/usr/lib/mozilla/native-messaging-hosts/"
- ln -sf "/usr/lib/browserpass/hosts/firefox/com.github.browserpass.native.json" "${pkgdir}/usr/lib/mozilla/native-messaging-hosts/"
-
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
-}
-
-# vim:set ts=4 sw=4 et:
Copied: browserpass-firefox/repos/community-any/PKGBUILD (from rev 688932, browserpass-firefox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-26 14:48:22 UTC (rev 688933)
@@ -0,0 +1,29 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+_id=browserpass at maximbaz.com
+pkgname=browserpass-firefox
+pkgver=3.5.0
+pkgrel=2
+pkgdesc="Firefox extension for Browserpass, browser extension for zx2c4's pass (password manager)"
+arch=('any')
+url="https://github.com/browserpass/browserpass-extension"
+license=('ISC')
+groups=('firefox-addons')
+depends=('browserpass')
+source=("${pkgname}-${pkgver}.xpi::https://addons.mozilla.org/firefox/downloads/file/3597896/browserpass-${pkgver}-fx.xpi"
+ "https://raw.githubusercontent.com/browserpass/browserpass-extension/master/LICENSE")
+noextract=("${pkgname}-${pkgver}.xpi")
+sha256sums=('1a53a9d941cba68e5b3131daebbd0c9a81dedf7de2f5a09eb0c09c7609e0f5ce'
+ 'f9fc49e2b3977f857bf3cbfbeb193bab8b2e17545978c162409d5270e6e0405a')
+
+package() {
+ install -Dm644 "${pkgname}-${pkgver}.xpi" "${pkgdir}/usr/lib/firefox/browser/extensions/${_id}.xpi"
+
+ # Install host json from browserpass package
+ install -dm755 "${pkgdir}/usr/lib/mozilla/native-messaging-hosts/"
+ ln -sf "/usr/lib/browserpass/hosts/firefox/com.github.browserpass.native.json" "${pkgdir}/usr/lib/mozilla/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