New package: passff-host-1.2.1
This commit is contained in:
parent
b7840fa4ce
commit
de79619b80
2 changed files with 28 additions and 0 deletions
26
srcpkgs/passff-host/template
Normal file
26
srcpkgs/passff-host/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'passff-host'
|
||||
pkgname=passff-host
|
||||
version=1.2.1
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
depends="python3 pass"
|
||||
short_desc="Host app for the WebExtension PassFF"
|
||||
maintainer="Colin Reeder <colin@vpzom.click>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://github.com/passff/passff-host"
|
||||
distfiles="https://github.com/passff/passff-host/releases/download/$version/passff.json
|
||||
https://github.com/passff/passff-host/releases/download/$version/passff.py"
|
||||
checksum="cd871bcf29d71e53f986fb74b7f2b1867151ba2b2a27318044c7bfaa38827282
|
||||
6db5c9c435bfe8efc0f626e38144eff4c045d90d8508a295c990abbae411ac6c"
|
||||
skip_extraction="passff.json passff.py"
|
||||
|
||||
do_install() {
|
||||
local srcdir="$XBPS_SRCDISTDIR/$pkgname-$version"
|
||||
vinstall "$srcdir"/passff.py 755 usr/libexec
|
||||
|
||||
sed "s#PLACEHOLDER#/usr/libexec/passff.py#g" "$srcdir"/passff.json > passff.json
|
||||
|
||||
for dir in "usr/lib/mozilla/native-messaging-hosts" "etc/opt/chrome/native-messaging-hosts" "etc/chromium/native-messaging-hosts" "etc/vivaldi/native-messaging-hosts"; do
|
||||
vinstall passff.json 644 "$dir"
|
||||
done
|
||||
}
|
2
srcpkgs/passff-host/update
Normal file
2
srcpkgs/passff-host/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site=https://api.github.com/repos/passff/passff-host/tags
|
||||
pattern="v\K[^\d]*([\d\.]+)"
|
Loading…
Reference in a new issue