diff options
author | Robert F. Nash | 2015-06-16 23:55:59 -0400 |
---|---|---|
committer | Robert F. Nash | 2015-06-16 23:55:59 -0400 |
commit | ee3bf668edb1f8cd54ced3e27b6228fb604a8b68 (patch) | |
tree | 938b4a05ba842bba3194d38fed81ed844dc54084 | |
download | aur-ee3bf668edb1f8cd54ced3e27b6228fb604a8b68.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 33 | ||||
-rw-r--r-- | passwordsafe-debian.install | 11 |
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fcd3baecdb65 --- /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 000000000000..6529ff903ec0 --- /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 000000000000..2eaa60550d51 --- /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 +} |