summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/passwdgen/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/passwdgen/APKBUILD b/testing/passwdgen/APKBUILD
new file mode 100644
index 000000000..d47fbb2f9
--- /dev/null
+++ b/testing/passwdgen/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=passwdgen
+pkgver=0.1.2
+pkgrel=0
+pkgdesc="A random password generator"
+url="http://code.google.com/p/passwdgen/"
+arch="all"
+license="GPL2+"
+depends=""
+depends_dev=""
+makedepends=""
+install=""
+subpackages="$pkgname-doc"
+source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="d1b954610935a26ca257e4fc7c870f1e passwdgen-0.1.2.tar.gz"