From f2fdfb1dda5c0d27d6def981f730a09837b3f68b Mon Sep 17 00:00:00 2001 From: John Date: Sat, 13 Apr 2019 21:46:02 +0200 Subject: [PATCH] browserpass: update to 3.0.6. This reverts commit f01bdd674ca230d4678525000fa9b6310ff8b4cc. --- srcpkgs/browserpass/template | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/srcpkgs/browserpass/template b/srcpkgs/browserpass/template index adb7ba24476..d79485796ac 100644 --- a/srcpkgs/browserpass/template +++ b/srcpkgs/browserpass/template @@ -1,33 +1,33 @@ # Template file for 'browserpass' pkgname=browserpass -reverts=3.0.5_1 -version=2.0.22 -revision=3 +version=3.0.6 +revision=1 +wrksrc="browserpass-native-${version}" build_style=go -go_import_path=github.com/dannyvankooten/browserpass -go_package="${go_import_path}/cmd/browserpass" +go_import_path=github.com/browserpass/browserpass-native hostmakedepends="git" short_desc="Browser extension for pass" maintainer="John " license="MIT" homepage="https://github.com/browserpass/browserpass" -distfiles="https://github.com/browserpass/browserpass/archive/${version}.tar.gz" -checksum=ce4d8f17b25982af67e5090a79d3cffeb6fddc36f579e87851a90b3e9515ae45 +distfiles="https://github.com/browserpass/browserpass-native/archive/${version}.tar.gz" +checksum=6a2442192aad8fae3642b925d1ff04368eef3a390043e6164c8eb2fd2a438ceb post_build() { - sed -i "s:%%replace%%:/usr/bin/browserpass:" chrome/host.json firefox/host.json + vsed -i "s:%%replace%%:/usr/bin/browserpass-native:" \ + browser-files/chromium-host.json browser-files/firefox-host.json } post_install() { vlicense LICENSE - local targetname=com.dannyvankooten.browserpass.json + local targetname=com.github.browserpass.native.json - vinstall firefox/host.json 644 usr/lib/mozilla/native-messaging-hosts $targetname + vinstall browser-files/firefox-host.json 644 usr/lib/mozilla/native-messaging-hosts $targetname - vinstall chrome/host.json 644 etc/chromium/native-messaging-hosts $targetname - vinstall chrome/policy.json 644 etc/chromium/policies/managed $targetname + vinstall browser-files/chromium-host.json 644 etc/chromium/native-messaging-hosts $targetname + vinstall browser-files/chromium-policy.json 644 etc/chromium/policies/managed $targetname - vinstall chrome/host.json 644 etc/opt/chrome/native-messaging-hosts $targetname - vinstall chrome/policy.json 644 etc/opt/chrome/policies/managed $targetname + vinstall browser-files/chromium-host.json 644 etc/opt/chrome/native-messaging-hosts $targetname + vinstall browser-files/chromium-policy.json 644 etc/opt/chrome/policies/managed $targetname }