diff options
author | Deposite Pirate | 2018-09-17 11:16:04 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-17 11:16:04 +0200 |
commit | 803557f1fbf8171013272c77dd28e1355b22f6df (patch) | |
tree | dee77592e552a6c0452540b921881a59bb1915a3 /mkpwd/PKGBUILD | |
parent | df4b04ba1fdcc9b5fb3c7ec28c42820df1ec5ca7 (diff) |
Add mkpwd.
Diffstat (limited to 'mkpwd/PKGBUILD')
-rw-r--r-- | mkpwd/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mkpwd/PKGBUILD b/mkpwd/PKGBUILD new file mode 100644 index 0000000..5e0721b --- /dev/null +++ b/mkpwd/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Deposite Pirate <dpirate at metalpunks dot info> + +pkgname=mkpwd +pkgver=1.6 +pkgrel=2 +pkgdesc="Command line password generator" +arch=('i686' 'x86_64') +url="http://www.o-schroeder.de/projects/mkpwd" +license=('GPL3') +source=("http://www.o-schroeder.de/download/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('6db5032fa6e2bc3ebd499ebf2b94f8df5b3ce64760d84fda7101e951bfb5c88a') + +build() { + cd "${pkgname}-${pkgver}" + CFLAGS="${CFLAGS}" ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -dm755 "${pkgdir}/usr/share/doc/${pkgname}" + + install -m644 AUTHORS ChangeLog README \ + "${pkgdir}/usr/share/doc/${pkgname}" +} |