Date: Thursday, April 18, 2019 @ 14:08:30 Author: maximbaz Revision: 451989
archrelease: copy trunk to community-any Added: browserpass-firefox/repos/community-any/PKGBUILD (from rev 451988, browserpass-firefox/trunk/PKGBUILD) Deleted: browserpass-firefox/repos/community-any/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-04-18 14:08:24 UTC (rev 451988) +++ PKGBUILD 2019-04-18 14:08:30 UTC (rev 451989) @@ -1,39 +0,0 @@ -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> - -_id=browserp...@maximbaz.com -_name=browserpass-extension -pkgname=browserpass-firefox -pkgver=3.0.12 -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=('5b69795996b631fb9c2ce37a5e630e95e887b86ff05ec667098dac17c29cd7a9' - '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 451988, browserpass-firefox/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-18 14:08:30 UTC (rev 451989) @@ -0,0 +1,39 @@ +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> + +_id=browserp...@maximbaz.com +_name=browserpass-extension +pkgname=browserpass-firefox +pkgver=3.0.13 +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=('9c4f3bdd6247b56c0c3740a9fa0f8b734240bd6ca36aa8d422cf7098a8a00e5c' + '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: