summaryrefslogtreecommitdiff
path: root/mkpwd
diff options
context:
space:
mode:
Diffstat (limited to 'mkpwd')
-rw-r--r--mkpwd/.SRCINFO13
-rw-r--r--mkpwd/PKGBUILD28
2 files changed, 41 insertions, 0 deletions
diff --git a/mkpwd/.SRCINFO b/mkpwd/.SRCINFO
new file mode 100644
index 0000000..744b469
--- /dev/null
+++ b/mkpwd/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = mkpwd
+ pkgdesc = Command line password generator
+ pkgver = 1.6
+ pkgrel = 2
+ url = http://www.o-schroeder.de/projects/mkpwd
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ source = http://www.o-schroeder.de/download/mkpwd/mkpwd-1.6.tar.gz
+ sha256sums = 6db5032fa6e2bc3ebd499ebf2b94f8df5b3ce64760d84fda7101e951bfb5c88a
+
+pkgname = mkpwd
+
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}"
+}