Date: Tuesday, November 1, 2022 @ 22:19:59
Author: felixonmars
Revision: 1340391
archrelease: copy trunk to community-staging-x86_64
Added:
pam-u2f/repos/community-staging-x86_64/
pam-u2f/repos/community-staging-x86_64/PKGBUILD
(from rev 1340389, pam-u2f/trunk/PKGBUILD)
pam-u2f/repos/community-staging-x86_64/keys/
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: pam-u2f/repos/community-staging-x86_64/PKGBUILD (from rev 1340389,
pam-u2f/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-11-01 22:19:59 UTC (rev 1340391)
@@ -0,0 +1,44 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Maxime de Roucy <[email protected]>
+# Contributor: David Manouchehri <[email protected]>
+# Contributor: Sven Lechner <[email protected]>
+
+pkgname=pam-u2f
+_name="${pkgname/-/_}"
+pkgver=1.2.1
+pkgrel=2
+pkgdesc='Universal 2nd Factor (U2F) PAM authentication module from Yubico'
+arch=('x86_64')
+url='https://developers.yubico.com/pam-u2f'
+license=('BSD')
+replaces=("${_name}")
+depends=('libfido2' 'openssl' 'pam')
+makedepends=('asciidoc')
+source=("${url}/Releases/${_name}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('70e741bca197b64b4fbe8dd1f6d57ce2b8ad58ca786352c525f3f2d44125894c'
+ 'SKIP')
+validpgpkeys=(
+ 'B70D62AA6A31AD6B9E4F9F4BDC8888925D25CA7A' # Alessio Di Mauro
<[email protected]>
+ '78D997D53E9C0A2A205392ED14A19784723C9988' # Ludvig Michaelsson
<[email protected]>
+)
+
+build() {
+ cd "${_name}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --with-pam-dir=/usr/lib/security
+ make
+}
+
+check() {
+ cd "${_name}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING
+}
+
+# vim:set ts=4 sw=4 et: