Initial APKBUILD for passwdgen

Package description:
passwdgen is a random password generator.

It can generate multiple types of password:

- Alphanumeric. (By default)
- Only upper characters
- Only lower characters
- Only numbers
- Right hand writable passwords
- Left hand writable passwords

Website: http://code.google.com/p/passwdgen/
This commit is contained in:
Fabian Affolter 2011-12-10 22:34:31 +00:00 committed by Natanael Copa
parent 158bf90701
commit b12e6b85fc

View File

@ -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"