aboutsummaryrefslogtreecommitdiffstats
path: root/testing/passwdgen/APKBUILD
blob: d50ae552c712597cb62cdb333f1b431acae571b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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
}

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