Date: Sunday, April 14, 2019 @ 14:32:16 Author: maximbaz Revision: 451623
archrelease: copy trunk to community-any Added: browserpass-chromium/repos/community-any/PKGBUILD (from rev 451622, 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-14 14:32:11 UTC (rev 451622) +++ PKGBUILD 2019-04-14 14:32:16 UTC (rev 451623) @@ -1,43 +0,0 @@ -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> - -_id=pjmbgaakjkbhpopmakjoedenlfdmcdgm -_name=browserpass-extension -pkgname=browserpass-chromium -pkgver=3.0.9 -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=('14bf7e18d57b6529164113aee02b111421cee0924e14110911e1abe11127b180' - 'SKIP' - 'ea8738ea89deaa31df9477e4f6cba90cb40d01e3e1e39b36afdcab763cf54dee') -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 451622, browserpass-chromium/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-14 14:32:16 UTC (rev 451623) @@ -0,0 +1,43 @@ +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> + +_id=pjmbgaakjkbhpopmakjoedenlfdmcdgm +_name=browserpass-extension +pkgname=browserpass-chromium +pkgver=3.0.10 +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=('782cd40ffdaeebc43e03e791150d4171f514f1691e0d1e850dd067b9a0527c5f' + 'SKIP' + 'ea8738ea89deaa31df9477e4f6cba90cb40d01e3e1e39b36afdcab763cf54dee') +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: