blob: 72f8cdadb93c9cf4e3e5e548ec353512d091d0e5 (
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
30
31
|
# Maintainer: karboncore
pkgname=libpam-pwdfile-git
pkgver=57.f46bd38
pkgrel=1
pkgdesc="A PAM module allowing authentication via an /etc/passwd-like file"
arch=(x86_64)
url="https://git.tiwe.de/libpam-pwdfile.git/about"
license=(GPL)
depends=(pam)
makedepends=(git)
optdepends=('whois: password generation')
provides=(${pkgname%-git})
conflicts=(libpam_pwdfile)
source=(git+https://git.tiwe.de/libpam-pwdfile.git)
sha256sums=(SKIP)
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
make
}
package() {
cd "$srcdir/${pkgname%-git}"
PAM_LIB_DIR="$pkgdir/usr/lib/security" make install
}
|