summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert F. Nash2015-06-16 23:55:59 -0400
committerRobert F. Nash2015-06-16 23:55:59 -0400
commitee3bf668edb1f8cd54ced3e27b6228fb604a8b68 (patch)
tree938b4a05ba842bba3194d38fed81ed844dc54084
downloadaur-ee3bf668edb1f8cd54ced3e27b6228fb604a8b68.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD33
-rw-r--r--passwordsafe-debian.install11
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fcd3baecdb6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = passwordsafe-debian
+ pkgdesc = Simple and secure password manager, from Debian package
+ pkgver = 0.93BETA
+ pkgrel = 1
+ url = http://passwordsafe.sourceforge.net
+ install = passwordsafe-debian.install
+ arch = i686
+ arch = x86_64
+ license = Artistic License 2.0
+ depends = xerces-c
+ depends = wxgtk2.8
+ depends = ykpers
+ provides = pwsafe
+ provides = passwordsafe
+ conflicts = pwsafe
+ conflicts = pwsafe-cvs
+ source = http://downloads.sourceforge.net/project/passwordsafe/Linux-BETA/0.93/passwordsafe-debian-0.93BETA.i686.deb
+ md5sums = e747fa099a0b8c4c4371054448fb77d4
+
+pkgname = passwordsafe-debian
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6529ff903ec
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Robert F. Nash <robert@robertnash.net>
+pkgname=passwordsafe-debian
+pkgver=0.93BETA
+pkgrel=1
+pkgdesc="Simple and secure password manager, from Debian package"
+arch=('i686' 'x86_64')
+url="http://passwordsafe.sourceforge.net"
+license=('Artistic License 2.0')
+conflicts=('pwsafe' 'pwsafe-cvs')
+provides=('pwsafe' 'passwordsafe')
+depends=('xerces-c' 'wxgtk2.8' 'ykpers')
+install="$pkgname.install"
+source=(http://downloads.sourceforge.net/project/passwordsafe/Linux-BETA/0.93/passwordsafe-debian-0.93BETA.i686.deb)
+md5sums=('e747fa099a0b8c4c4371054448fb77d4')
+
+[ "$CARCH" = "x86_64" ] && source=(http://downloads.sourceforge.net/project/passwordsafe/Linux-BETA/0.93/passwordsafe-debian-0.93BETA.amd64.deb)
+[ "$CARCH" = "x86_64" ] && md5sums=('4bef42d2e3cccb5ddd6f8fae4eef5cf8')
+
+
+package() {
+ cd "$srcdir"
+ if [ "$CARCH" = "x86_64" ]; then
+ ar x $pkgname-$pkgver.amd64.deb
+ else
+ ar x $pkgname-$pkgver.$arch.deb
+ fi
+ tar xzf data.tar.gz -C "$pkgdir/"
+ cd "$pkgdir/usr/share"
+ mkdir -p applications
+ mkdir -p pixmaps
+ cp pwsafe/pwsafe.desktop applications/
+ cp pwsafe/pwsafe.png pixmaps/
+}
diff --git a/passwordsafe-debian.install b/passwordsafe-debian.install
new file mode 100644
index 00000000000..2eaa60550d5
--- /dev/null
+++ b/passwordsafe-debian.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}