Date: Thursday, April 18, 2019 @ 14:07:24 Author: maximbaz Revision: 451987
archrelease: copy trunk to community-any Added: browserpass-chromium/repos/community-any/PKGBUILD (from rev 451986, 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-18 14:07:18 UTC (rev 451986) +++ PKGBUILD 2019-04-18 14:07:24 UTC (rev 451987) @@ -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 451986, browserpass-chromium/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-18 14:07:24 UTC (rev 451987) @@ -0,0 +1,43 @@ +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> + +_id=pjmbgaakjkbhpopmakjoedenlfdmcdgm +_name=browserpass-extension +pkgname=browserpass-chromium +pkgver=3.0.13 +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=('9f0a5dbc36c3ed9242ec8be92a53c03c94d75f5a0d470cb5f3129cb4dc245d04' + '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: