summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c1ced81b719..12c1999cc3b 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 3c2e95e464f..15b5926dbb4 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 ade0c1bec34..979c2e743ff 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
+}