pwgen: added to repository

This commit is contained in:
Francesco Marinucci 2018-01-20 18:34:58 +00:00
parent dc569e1b6c
commit 3be4018046

29
pwgen/PKGBUILD Normal file
View File

@ -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
}