# Contributor: Fabian Affolter # Maintainer: Fabian Affolter setglobal pkgname = 'makepasswd' setglobal pkgver = '0.5.3' setglobal pkgrel = '2' setglobal pkgdesc = '"Generates (pseudo-)random passwords of a desired length'" setglobal url = '"http://people.defora.org/~khorben/projects/makepasswd/'" setglobal arch = '"all'" setglobal license = '"GPL3'" setglobal depends = ''"" setglobal makedepends = '"libxslt docbook-xsl libressl-dev'" setglobal install = ''"" setglobal subpackages = ""$pkgname-doc"" setglobal source = ""http://ftp.defora.org/pub/projects/makepasswd/$pkgname-$pkgver.tar.gz"" setglobal builddir = ""$srcdir"/$pkgname-$pkgver" proc build { cd $builddir make || return 1 cd doc make || return 1 } proc package { cd $builddir install -D -p -m 755 src/makepasswd "$pkgdir"/usr/bin/makepasswd install -D -p -m 644 doc/makepasswd.1 \ "$pkgdir"/usr/share/man/man1/$pkgname.1 || return 1 } setglobal md5sums = '"f9303ba52592555a45b11e35779ca11f makepasswd-0.5.3.tar.gz'" setglobal sha256sums = '"e632d31b45919be41b4ab29634e20926b2bdbba4086a8817e311fb68dd17c036 makepasswd-0.5.3.tar.gz'" setglobal sha512sums = '"9b0c7ac44a81ab900d97d403e7f088756fc92bbd516b83391a23fa0c13f1c18137fd47ff8faa418c46bc8dfb11d3ea43d84c5f268dd6409c2ed3431afa536a4a makepasswd-0.5.3.tar.gz'"