blob: 0a55ffb064317685f8be297a02229bc2cadde77a (
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.06
pkgrel=1
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="935aebcbe610fbc9de8125e7b7d71297 pwgen-2.06.tar.gz"
sha256sums="61598c9e3a0f7eb2e7367d4ecc71522c4f16a7d41ed31db29e3afee8d9843454 pwgen-2.06.tar.gz"
sha512sums="46cd35292cc0772ae5c89888c862e08ae14854b4d32bfe2c57aa5ab62dab2a3e858255b2a8f3ef94eec32739ea403ad12b872f4a8890d2b5157bc62e48488001 pwgen-2.06.tar.gz"
|