summaryrefslogtreecommitdiffstats
path: root/main/pwgen/APKBUILD
blob: 5703f28f153dc66bfefb1efa405a41360120c6e1 (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
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=pwgen
pkgver=2.06
pkgrel=0
pkgdesc="Password Generator"
url="http://sourceforge.net/projects/pwgen/"
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"