From e2233d06754c503ecbfdf92a370d2fddd06e09d7 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 23 Apr 2014 21:49:39 +0200 Subject: dist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- DEPENDENCIES | 2 ++ dist/archlinux/stable/PKGBUILD | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 dist/archlinux/stable/PKGBUILD 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 +} + -- cgit v1.2.3-70-g09d2