diff options
author | J. King | 2021-12-31 17:17:16 -0500 |
---|---|---|
committer | J. King | 2021-12-31 17:17:16 -0500 |
commit | 98a14ac1adedcbb4b6c454018fa7aa340b3861a5 (patch) | |
tree | 2b77a779c1909fcf7cd86b40bfe4e75a3f1ef353 | |
download | aur-98a14ac1adedcbb4b6c454018fa7aa340b3861a5.tar.gz |
Initial PKGBUILD
Architectures are somewhat speculative. I assume i686 is supported;
I don't know if 32=bit ARM is also supported
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 34 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4a0344830076 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = pam_sqlite-git + pkgdesc = PAM module to provide authentication against SQLite tables + pkgver = 1.0.1.7 + pkgrel = 1 + url = https://github.com/HormyAJP/pam_sqlite3 + arch = x86_64 + arch = i686 + arch = aarch64 + license = GPL3 + makedepends = git + depends = pam + depends = sqlite + source = pam_sqlite-git::git+https://github.com/HormyAJP/pam_sqlite3 + md5sums = SKIP + +pkgname = pam_sqlite-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..826236c79649 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/pam_sqlite-git +/src +/pkg +/*.pkg.tar.*
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..654a1e9967b1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" "$pkgdir/usr/share/doc/pam_sqlite" + install -t "$pkgdir/usr/share/doc/pam_sqlite" CHANGELOG CREDITS LICENSE NEWS README pam_sqlite3.conf.example + make ROOTDIR="$pkgdir/usr" install +} |