diff options
author | Tilman Blumenbach | 2014-12-21 19:07:33 +0100 |
---|---|---|
committer | Tilman Blumenbach | 2014-12-21 19:07:33 +0100 |
commit | 7a8d32effab4bfff938563c81117ccb2f0b8854a (patch) | |
tree | 09ba0c1806bf3e12eb243b8ea74582f1f8fb8f2c | |
parent | 385c41cc7d75d50f4047857f33fd330196a9d8ab (diff) | |
download | aur-7a8d32effab4bfff938563c81117ccb2f0b8854a.tar.gz |
keepass-plugin-rpc: Install plugin file to standard location.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | keepass-plugin-rpc.install | 18 |
3 files changed, 20 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = keepass-plugin-rpc pkgdesc = RPC plugin for Keepass (used by the KeeFox addon for Firefox) pkgver = 1.4.4 - pkgrel = 1 + pkgrel = 2 url = http://keefox.org/ install = keepass-plugin-rpc.install arch = i686 @@ -2,7 +2,7 @@ pkgname=keepass-plugin-rpc pkgver=1.4.4 -pkgrel=1 +pkgrel=2 pkgdesc="RPC plugin for Keepass (used by the KeeFox addon for Firefox)" arch=(i686 x86_64) url="http://keefox.org/" @@ -22,7 +22,7 @@ prepare() { package() { cd "$srcdir/keefox/deps" - install -m 644 -D KeePassRPC.plgx "${pkgdir}/usr/share/keepass/plugins/rpc/KeePassRPC.plgx" + install -m 644 -D KeePassRPC.plgx "${pkgdir}/usr/share/keepass/plugins/KeePassRPC.plgx" } md5sums=('874d111743c2e430ddfc9ef211a726b8') diff --git a/keepass-plugin-rpc.install b/keepass-plugin-rpc.install index ade0c1bec344..979c2e743fff 100644 --- a/keepass-plugin-rpc.install +++ b/keepass-plugin-rpc.install @@ -1,9 +1,25 @@ ## arg 1: the new package version post_install() { echo "> The plugin has been installed to the following location:" - echo "> /usr/share/keepass/plugins/rpc/" + echo "> /usr/share/keepass/plugins/" echo ">" echo "> If you are using KeePass for Firefox, please set this as" echo "> the KeePassRPC installation directory in the KeeFox addon" echo "> options on the \"KeePass\" tab." } + +## arg 1: new package full version string +## arg 2: old package full version string +post_upgrade() { + if [ "$2" = "1.4.4-1" ]; then + echo "> Important change:" + echo "> -----------------" + echo ">" + echo "> The plugin has been moved to the following location:" + echo "> /usr/share/keepass/plugins/" + echo ">" + echo "> If you are using KeePass for Firefox, please set this as" + echo "> the KeePassRPC installation directory in the KeeFox addon" + echo "> options on the \"KeePass\" tab." + fi +} |