aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pwsafe
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-02-27 10:20:53 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-02-27 10:20:53 +0200
commitf35f58c13f0b9aed03154b42cc13e762e13a6d24 (patch)
tree310edc6fda4a3c01dfe71417a6b6a650c376522b /testing/pwsafe
parent9de10d87f48742502c846a3c2fa5619e70e01ddb (diff)
downloadaports-f35f58c13f0b9aed03154b42cc13e762e13a6d24.tar.bz2
aports-f35f58c13f0b9aed03154b42cc13e762e13a6d24.tar.xz
testing/pwsafe: new package
Diffstat (limited to 'testing/pwsafe')
-rw-r--r--testing/pwsafe/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/pwsafe/APKBUILD b/testing/pwsafe/APKBUILD
new file mode 100644
index 0000000000..2c8b988624
--- /dev/null
+++ b/testing/pwsafe/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer:
+pkgname=pwsafe
+pkgver=0.2.0
+pkgrel=0
+pkgdesc="Password database"
+url="http://nsd.dyndns.org/pwsafe/"
+arch="all"
+license="GPL2"
+subpackages="$pkgname-doc"
+source="http://nsd.dyndns.org/pwsafe/releases/pwsafe-$pkgver.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr --mandir=/usr/share/man && make && make check
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="4bb36538a2772ecbf1a542bc7d4746c0 pwsafe-0.2.0.tar.gz"
+sha256sums="61e91dc5114fe014a49afabd574eda5ff49b36c81a6d492c03fcb10ba6af47b7 pwsafe-0.2.0.tar.gz"
+sha512sums="e8d3684f523f83def6317ef5561a02d1493685cfbda18707644bf335b7f45b1a548aae17a735838d9f6df345ddb17934607162a6e99348df625b34a9ad5f4cf3 pwsafe-0.2.0.tar.gz"