APP=pwgen
VERSION=2.07
BUILD=1sml
HOMEPAGE="https://sourceforge.net/projects/pwgen"
DESC="A small tool to generate semi-random passwords"
REQUIRES="musl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc 

  make
  make install DESTDIR=$PKG

  cp debian/copyright $PKGDOCS/LICENSE

  mkfinalpkg
}

SHA512SUMS="
c70080820e1502f2f25e6f8c4b6b7df4bd8f5aa0a502f215e56b3142fe5e2a6150275d42a0f526638b7cb7b8b7512aae8ab39d4ecd893995de72be20a29ee1e9  pwgen-2.07.tar.lz
"
