Revert "browserpass: update to 3.0.5."

This reverts commit 543ab5193b.
This commit is contained in:
John 2019-04-13 03:20:03 +02:00
parent efca6301b4
commit f01bdd674c
No known key found for this signature in database
GPG Key ID: 778558807E4FFC55
1 changed files with 11 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'browserpass' # Template file for 'browserpass'
pkgname=browserpass pkgname=browserpass
version=3.0.5 reverts=3.0.5_1
revision=1 version=2.0.22
wrksrc="browserpass-native-${version}" revision=3
build_style=go build_style=go
go_import_path=github.com/dannyvankooten/browserpass go_import_path=github.com/dannyvankooten/browserpass
go_package="${go_import_path}/cmd/browserpass" go_package="${go_import_path}/cmd/browserpass"
@ -11,12 +11,11 @@ short_desc="Browser extension for pass"
maintainer="John <johnz@posteo.net>" maintainer="John <johnz@posteo.net>"
license="MIT" license="MIT"
homepage="https://github.com/browserpass/browserpass" homepage="https://github.com/browserpass/browserpass"
distfiles="https://github.com/browserpass/browserpass-native/archive/${version}.tar.gz" distfiles="https://github.com/browserpass/browserpass/archive/${version}.tar.gz"
checksum=1f2d1804da7dc881e3be9b1becce332d7e0a1d5e2bfde7bd64134939c8150ce8 checksum=ce4d8f17b25982af67e5090a79d3cffeb6fddc36f579e87851a90b3e9515ae45
post_build() { post_build() {
vsed -i "s:%%replace%%:/usr/bin/browserpass:" \ sed -i "s:%%replace%%:/usr/bin/browserpass:" chrome/host.json firefox/host.json
browser-files/chromium-host.json browser-files/firefox-host.json
} }
post_install() { post_install() {
@ -24,11 +23,11 @@ post_install() {
local targetname=com.dannyvankooten.browserpass.json local targetname=com.dannyvankooten.browserpass.json
vinstall browser-files/firefox-host.json 644 usr/lib/mozilla/native-messaging-hosts $targetname vinstall firefox/host.json 644 usr/lib/mozilla/native-messaging-hosts $targetname
vinstall browser-files/chromium-host.json 644 etc/chromium/native-messaging-hosts $targetname vinstall chrome/host.json 644 etc/chromium/native-messaging-hosts $targetname
vinstall browser-files/chromium-policy.json 644 etc/chromium/policies/managed $targetname vinstall chrome/policy.json 644 etc/chromium/policies/managed $targetname
vinstall browser-files/chromium-host.json 644 etc/opt/chrome/native-messaging-hosts $targetname vinstall chrome/host.json 644 etc/opt/chrome/native-messaging-hosts $targetname
vinstall browser-files/chromium-policy.json 644 etc/opt/chrome/policies/managed $targetname vinstall chrome/policy.json 644 etc/opt/chrome/policies/managed $targetname
} }