Date: Sunday, April 21, 2019 @ 08:36:41 Author: maximbaz Revision: 452589
archrelease: copy trunk to community-any Added: browserpass-chromium/repos/community-any/PKGBUILD (from rev 452588, 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-21 08:35:49 UTC (rev 452588) +++ PKGBUILD 2019-04-21 08:36:41 UTC (rev 452589) @@ -1,43 +0,0 @@ -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> - -_id=pjmbgaakjkbhpopmakjoedenlfdmcdgm -_name=browserpass-extension -pkgname=browserpass-chromium -pkgver=3.0.15 -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=('d2ce4424fe8fe0186f6ec902ad469f1d86e06bb8d6a72081cf6ae3840aadff38' - '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 452588, browserpass-chromium/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-21 08:36:41 UTC (rev 452589) @@ -0,0 +1,43 @@ +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> + +_id=pjmbgaakjkbhpopmakjoedenlfdmcdgm +_name=browserpass-extension +pkgname=browserpass-chromium +pkgver=3.1.0 +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=('7f1df364424c3eabf5589d2adfeb715b0ccdbc4b59723ff4b44266bafd70645f' + '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: