From 5f01e57436b7363cbe678e208e252d3901a2483a Mon Sep 17 00:00:00 2001 From: Darko Luketic Date: Wed, 12 Aug 2015 16:35:02 +0200 Subject: [PATCH] Initial import --- .SRCINFO | 14 ++++++++++++++ PKGBUILD | 29 +++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..da47637 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = libpam_pwdfile + pkgdesc = A PAM module allowing authentication via an /etc/passwd-like file + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/tiwe-de/libpam-pwdfile + arch = i686 + arch = x86_64 + license = GPL + depends = pam + source = https://github.com/tiwe-de/libpam-pwdfile/archive/v1.0.tar.gz + sha1sums = a5fd2bd79a3c781b508905709450427f1b28705f + +pkgname = libpam_pwdfile + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..efbaf2d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# A PAM module allowing authentication via an /etc/passwd-like file +# Contributor: Mark Dovermann +# Contributor: David Rosenstrauch +# Maintainer: Darko Luketic + +pkgname=libpam_pwdfile +pkgver=1.0 +pkgrel=1 +pkgdesc="A PAM module allowing authentication via an /etc/passwd-like file" +arch=('i686' 'x86_64') +url="https://github.com/tiwe-de/libpam-pwdfile" +license=('GPL') +groups=() +depends=('pam') +source=(https://github.com/tiwe-de/libpam-pwdfile/archive/v${pkgver}.tar.gz) +sha1sums=('a5fd2bd79a3c781b508905709450427f1b28705f') + +build() { + cd "$srcdir/libpam-pwdfile-${pkgver}" + + make +} + +package() { + cd "$srcdir/libpam-pwdfile-${pkgver}" + + make PAM_LIB_DIR="$pkgdir/lib/security" INSTALL=$(which install) install +} +