Date: Saturday, October 9, 2021 @ 23:19:55 Author: daurnimator Revision: 1029188
archrelease: copy trunk to community-any Added: passff-host/repos/community-any/PKGBUILD (from rev 1029187, passff-host/trunk/PKGBUILD) Deleted: passff-host/repos/community-any/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-09 23:19:42 UTC (rev 1029187) +++ PKGBUILD 2021-10-09 23:19:55 UTC (rev 1029188) @@ -1,41 +0,0 @@ -# Maintainer: Daurnimator <daurnima...@archlinux.org> -# Contributor: Jaron Kent-Dobias <ja...@kent-dobias.com> -# Contributor: arcnmx <arc...@gmail.com> - -pkgname=passff-host -pkgver=1.2.1 -pkgrel=3 -epoch=1 -pkgdesc="PassFF native messaging host application for Firefox, Chromium, Chrome, Vivaldi" -url="https://github.com/passff/passff-host" -license=(GPL2) -depends=('pass' 'python') -optdepends=('pass-otp') -arch=('any') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/passff/passff-host/archive/${pkgver}.tar.gz") -sha256sums=('9ad2fd45764283fd327819f79acc1ed39ad14e939120d4bcda6c0510cae39252') - -build() { - cd "${pkgname}-${pkgver}" - - sed -i -e "s/_VERSIONHOLDER_/${pkgver}/g" 'src/passff.py' - sed -i -e 's/PLACEHOLDER/\/usr\/share\/passff\/passff.py/' 'src/passff.json' -} - -package() { - cd "${pkgname}-${pkgver}" - - install -Dm 755 "src/passff.py" "${pkgdir}/usr/share/passff/passff.py" - python -O -m compileall "${pkgdir}/usr/share/passff/passff.py" - - install -Dm 644 "src/passff.json" "${pkgdir}/usr/share/passff/passff.json" - for d in \ - '/etc/chromium/native-messaging-hosts' \ - '/etc/opt/chrome/native-messaging-hosts' \ - '/usr/lib/mozilla/native-messaging-hosts' \ - '/etc/vivaldi/native-messaging-hosts' \ - ; do - mkdir -p "${pkgdir}/${d}/" - ln -s '/usr/share/passff/passff.json' "${pkgdir}/${d}/passff.json" - done -} Copied: passff-host/repos/community-any/PKGBUILD (from rev 1029187, passff-host/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-09 23:19:55 UTC (rev 1029188) @@ -0,0 +1,41 @@ +# Maintainer: Daurnimator <daurnima...@archlinux.org> +# Contributor: Jaron Kent-Dobias <ja...@kent-dobias.com> +# Contributor: arcnmx <arc...@gmail.com> + +pkgname=passff-host +pkgver=1.2.2 +pkgrel=1 +epoch=1 +pkgdesc="PassFF native messaging host application for Firefox, Chromium, Chrome, Vivaldi" +url="https://github.com/passff/passff-host" +license=(GPL2) +depends=('pass' 'python') +optdepends=('pass-otp') +arch=('any') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/passff/passff-host/archive/${pkgver}.tar.gz") +sha256sums=('b8c402fc5c97c0536042434fa091af641cb047372ec2091b6e499117f67c0542') + +build() { + cd "${pkgname}-${pkgver}" + + sed -i -e "s/_VERSIONHOLDER_/${pkgver}/g" 'src/passff.py' + sed -i -e 's/PLACEHOLDER/\/usr\/share\/passff\/passff.py/' 'src/passff.json' +} + +package() { + cd "${pkgname}-${pkgver}" + + install -Dm 755 "src/passff.py" "${pkgdir}/usr/share/passff/passff.py" + python -O -m compileall "${pkgdir}/usr/share/passff/passff.py" + + install -Dm 644 "src/passff.json" "${pkgdir}/usr/share/passff/passff.json" + for d in \ + '/etc/chromium/native-messaging-hosts' \ + '/etc/opt/chrome/native-messaging-hosts' \ + '/usr/lib/mozilla/native-messaging-hosts' \ + '/etc/vivaldi/native-messaging-hosts' \ + ; do + mkdir -p "${pkgdir}/${d}/" + ln -s '/usr/share/passff/passff.json' "${pkgdir}/${d}/passff.json" + done +}