# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
setvar pkgname = 'passwdgen'
setvar pkgver = '0.1.2'
setvar pkgrel = '0'
setvar pkgdesc = ""A random password generator""
setvar url = ""http://code.google.com/p/passwdgen/""
setvar arch = ""all""
setvar license = ""GPL2+""
setvar depends = """"
setvar depends_dev = """"
setvar makedepends = """"
setvar install = """"
setvar subpackages = ""$pkgname-doc""
setvar source = ""http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz""
setvar _builddir = ""$srcdir"/$pkgname-$pkgver"

proc build {
	cd $_builddir
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

proc package {
	cd $_builddir
	make DESTDIR="$pkgdir" install || return 1
}

setvar md5sums = ""d1b954610935a26ca257e4fc7c870f1e  passwdgen-0.1.2.tar.gz""