[arch-commits] Commit in passff-host/trunk (PKGBUILD)

Daurnimator daurnimator at archlinux.org
Thu Jul 9 12:39:00 UTC 2020


    Date: Thursday, July 9, 2020 @ 12:39:00
  Author: daurnimator
Revision: 661812

upgpkg: passff-host 1:1.2.1-3: fix missing dependencies, template in version

Modified:
  passff-host/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-09 12:37:48 UTC (rev 661811)
+++ PKGBUILD	2020-07-09 12:39:00 UTC (rev 661812)
@@ -4,12 +4,13 @@
 
 pkgname=passff-host
 pkgver=1.2.1
-pkgrel=2
+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=('python')
+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')
@@ -17,6 +18,7 @@
 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'
 }
 



More information about the arch-commits mailing list