diff options
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}" +} |