From 482be8985b0f4a663902f1ab81a03c4deba6cb2b Mon Sep 17 00:00:00 2001 From: kth5 Date: Mon, 24 Jun 2024 18:04:04 +0200 Subject: [PATCH] * update pam-u2f to 1.3.0-2 --- pam-u2f/PKGBUILD | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/pam-u2f/PKGBUILD b/pam-u2f/PKGBUILD index 3cdb49fc6e..6455c4eeb6 100644 --- a/pam-u2f/PKGBUILD +++ b/pam-u2f/PKGBUILD @@ -1,5 +1,6 @@ # POWER Maintainer: Alexander Baldeck -# Maintainer: Maxim Baz +# Maintainer: Robin Candau +# Contributor: Maxim Baz # Contributor: Maxime de Roucy # Contributor: David Manouchehri # Contributor: Sven Lechner @@ -7,11 +8,11 @@ pkgname=pam-u2f _name="${pkgname/-/_}" pkgver=1.3.0 -pkgrel=1 -pkgdesc='Universal 2nd Factor (U2F) PAM authentication module from Yubico' -arch=(x86_64 powerpc64le powerpc riscv64) -url='https://developers.yubico.com/pam-u2f' -license=('BSD') +pkgrel=2 +pkgdesc="Universal 2nd Factor (U2F) PAM authentication module from Yubico" +url="https://developers.yubico.com/pam-u2f" +arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) +license=('BSD-2-Clause') replaces=("${_name}") depends=('libfido2' 'openssl' 'pam') makedepends=('asciidoc') @@ -24,22 +25,20 @@ validpgpkeys=( ) build() { - cd "${_name}-${pkgver}" - ./configure \ - --prefix=/usr \ - --with-pam-dir=/usr/lib/security - make + cd "${_name}-${pkgver}" + ./configure \ + --prefix=/usr \ + --with-pam-dir=/usr/lib/security + make } check() { - cd "${_name}-${pkgver}" - make check + cd "${_name}-${pkgver}" + make check } package() { - cd "${_name}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING + cd "${_name}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } - -# vim:set ts=4 sw=4 et: