summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTilman Blumenbach2014-12-21 19:07:33 +0100
committerTilman Blumenbach2014-12-21 19:07:33 +0100
commit7a8d32effab4bfff938563c81117ccb2f0b8854a (patch)
tree09ba0c1806bf3e12eb243b8ea74582f1f8fb8f2c
parent385c41cc7d75d50f4047857f33fd330196a9d8ab (diff)
downloadaur-7a8d32effab4bfff938563c81117ccb2f0b8854a.tar.gz
keepass-plugin-rpc: Install plugin file to standard location.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--keepass-plugin-rpc.install18
3 files changed, 20 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c1ced81b7193..12c1999cc3be 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 3c2e95e464f2..15b5926dbb40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
+}