summaryrefslogtreecommitdiffstats
path: root/main/pwgen/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/pwgen/APKBUILD')
-rw-r--r--main/pwgen/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/pwgen/APKBUILD b/main/pwgen/APKBUILD
new file mode 100644
index 000000000..0a70090b3
--- /dev/null
+++ b/main/pwgen/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+pkgname=pwgen
+pkgver=2.06
+pkgrel=1
+pkgdesc="Password Generator"
+url="http://sourceforge.net/projects/pwgen/"
+arch="all"
+license="GPL"
+depends=
+makedepends=
+install=
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="935aebcbe610fbc9de8125e7b7d71297 pwgen-2.06.tar.gz"