blob: 5b800740495ee752e73c78d2a4efa6d1cb5b299d (
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
32
33
34
|
# Maintainer: J. King <jking@jkingweb.ca>
pkgname="pam_sqlite-git"
pkgver=1.0.1.7
pkgrel=1
epoch=
pkgdesc="PAM module to provide authentication against SQLite tables"
arch=("x86_64" "i686" "aarch64")
url="https://github.com/HormyAJP/pam_sqlite3"
license=("GPL3")
depends=("pam" "sqlite")
makedepends=("git")
checkdepends=()
optdepends=()
backup=()
source=("$pkgname::git+https://github.com/HormyAJP/pam_sqlite3")
md5sums=("SKIP")
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/v\([^-]\+\)-\([^-]\+\).*/\1.\2/'
}
build() {
cd "$srcdir/$pkgname"
./configure
make
}
package() {
cd "$srcdir/$pkgname"
install -d "$pkgdir/usr/lib/security"
install -Dm644 -t "$pkgdir/usr/share/doc/pam_sqlite" CHANGELOG CREDITS LICENSE NEWS README pam_sqlite3.conf.example
make ROOTDIR="$pkgdir/usr" install
}
|