# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=secpwgen pkgver=1.3 pkgrel=2 pkgdesc="secure password generator" url="http://zvrba.net/" arch="all" license="MIT" depends_dev="libressl-dev" makedepends="$depends_dev" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/itoffshore/$pkgname/archive/v$pkgver.tar.gz make-openssl.patch " builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" mv Makefile.proto Makefile make } package() { cd "$builddir" mkdir -p "$pkgdir"/usr/bin \ $pkgdir"/usr/share/man/man1 install -m 755 secpwgen "$pkgdir"/usr/bin install -m 644 secpwgen.1 "$pkgdir"/usr/share/man/man1 # post-install message mkdir -p "$pkgdir/usr/share/doc/$pkgname" cat > "$pkgdir"/usr/share/doc/$pkgname/README.alpine <