aboutsummaryrefslogtreecommitdiffstats
path: root/main/pwgen/APKBUILD
blob: f277ec9809ec9e0e6e3c90da603318c60342b142 (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
33
34
35
36
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=pwgen
pkgver=2.07
pkgrel=0
pkgdesc="A 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 \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

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

md5sums="910b1008cdd86445e9e01305d21ee4c5  pwgen-2.07.tar.gz"
sha256sums="eb74593f58296c21c71cd07933e070492e9222b79cedf81d1a02ce09c0e11556  pwgen-2.07.tar.gz"
sha512sums="9c56ff04ca2f6f60126608a25f395ddbc4a3ac59585a6f233c87d993b6388e30b1867d43a6bc5b0f9f1f4064b12ea450eac4f7c9ac2844707a99fad1bbd2664d  pwgen-2.07.tar.gz"