summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 05a888366291884cc2ae7fb9678c1e52a2a5139d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# A PAM module allowing authentication via an /etc/passwd-like file
# Contributor: Mark Dovermann <mdovermann@ceruleanmicrosystems.com>
# Contributor: David Rosenstrauch <darose@darose.net>
# Maintainer: Darko Luketic <info@icod.de>

pkgname=libpam_pwdfile
pkgver=1.0
pkgrel=2
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/usr/lib/security" INSTALL=$(which install) install
}