aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DEPENDENCIES2
-rw-r--r--dist/archlinux/stable/PKGBUILD25
2 files changed, 27 insertions, 0 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES
index 2b00df9..722ba0e 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -2,12 +2,14 @@ RUNTIME DEPENDENCIES:
libpassphrase https://github.com/GNU-Pony/libpassphrase
argparser-c https://github.com/maandree/argparser
+ libc
BUILD DEPENDENCIES:
libpassphrase https://github.com/GNU-Pony/libpassphrase
argparser-c https://github.com/maandree/argparser
+ libc
make
c99
coreutils
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
new file mode 100644
index 0000000..76206c4
--- /dev/null
+++ b/dist/archlinux/stable/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=autopasswd
+pkgver=1
+pkgrel=1
+pkgdesc="Reproducible password generator"
+url="https://github.com/maandree/autopasswd"
+arch=(i686 x86_64)
+license=(GPL3)
+depends=(glibc libpassphrase argparser)
+makedepends=(glibc libpassphrase argparser make coreutils gcc)
+source=("${url}/archive/${pkgver}.tar.gz")
+sha256sums=(324e8f850a1fe8af348d89f25686b62ee30b161f1d49246e03ff1a799a532967)
+
+
+build() {
+ cd "$srcdir/autopasswd-$pkgver"
+ make PREFIX=/usr LDFLAGS=
+}
+
+package() {
+ cd "$srcdir/autopasswd-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
+