# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=yubico-pam pkgver=2.26 pkgrel=1 pkgdesc="Yubico Pluggable Authentication Module (PAM)" url="https://developers.yubico.com/yubico-pam" arch="all" license="BSD-2-Clause" makedepends="linux-pam-dev yubico-c-dev yubico-c-client-dev ykpers-dev" options="!check" # need yubikey plugged in on live machine subpackages="$pkgname-doc" source="https://developers.yubico.com/yubico-pam/Releases/pam_yubico-$pkgver.tar.gz" builddir="$srcdir/pam_yubico-$pkgver" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --with-pam-dir=/lib/security make } package() { make DESTDIR="$pkgdir" install } sha512sums="4adba37f07e1fe1a2c4b534246ef0e862be76e3b1ce0ed6f11f15436f537cd5963f00abf48f6faa7e65b025ff6924dbaf918db1675b1e2cb89a802d2f2d6a4ec pam_yubico-2.26.tar.gz"