diff --git a/pwgen/PKGBUILD b/pwgen/PKGBUILD new file mode 100644 index 000000000..d7a277927 --- /dev/null +++ b/pwgen/PKGBUILD @@ -0,0 +1,29 @@ +pkgname=pwgen +pkgver=2.08 +pkgrel=1 +pkgdesc='Password generator for creating easily memorable passwords' +arch=('x86_64') +url='https://sourceforge.net/projects/pwgen/' +license=('GPL') +depends=('glibc') +validpgpkeys=('3AB057B7E78D945C8C5591FBD36F769BC11804F0') +source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc}) +sha256sums=('dab03dd30ad5a58e578c5581241a6e87e184a18eb2c3b2e0fffa8a9cf105c97b' + 'SKIP') + +prepare() { + cd $pkgname-$pkgver + + autoconf +} + +build() { + cd $pkgname-$pkgver + + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + make -C $pkgname-$pkgver DESTDIR=$pkgdir install +}