Date: Friday, July 23, 2021 @ 19:36:10 Author: felixonmars Revision: 420366
archrelease: copy trunk to testing-x86_64 Added: libfido2/repos/testing-x86_64/ libfido2/repos/testing-x86_64/PKGBUILD (from rev 420365, libfido2/trunk/PKGBUILD) ----------+ PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) Copied: libfido2/repos/testing-x86_64/PKGBUILD (from rev 420365, libfido2/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-07-23 19:36:10 UTC (rev 420366) @@ -0,0 +1,45 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Karol Babioch <ka...@babioch.de> + +pkgname=libfido2 +pkgver=1.8.0 +pkgrel=1 +pkgdesc='Library functionality for FIDO 2.0, including communication with a device over USB' +url='https://developers.yubico.com/libfido2/' +arch=('x86_64') +license=('BSD') +depends=('glibc' 'openssl' 'libcbor' 'libcbor.so' 'hidapi' 'systemd-libs' 'libudev.so' 'zlib') +makedepends=('cmake' 'systemd') +provides=('libfido2.so') +source=("https://developers.yubico.com/libfido2/Releases/libfido2-${pkgver}.tar.gz"{,.sig}) +sha512sums=('dbea52a80068323e9945ef7a6e93ab1438bc4347390fc91694a94669900d4ce4abe95e1b6df90fe8b6b2dde6b5d28d9dc0c6b022c24ccb661f28c30c33417999' + 'SKIP') +b2sums=('48ca29fc1b582b4c915ce3dac2b3c24b1c71b144681f77f13059a599eb5e38b263442abecacad495e28a6fea63fc98c142a32939bb49a521b6a6a8d4ad0f1ff0' + 'SKIP') +validpgpkeys=( + 'EE90AE0D19774C8386628FAAB428949EF7914718' # pedro martelletto <pe...@yubico.com> + '1D7308B0055F5AEF36944A8F27A9C24D9588EA0F' # Aveen Ismail <aveen.ism...@yubico.com> + '7FBB6186957496D58C751AC20E777DD85755AA4A' # Konstantinos Georgantas <kos...@yubico.com> +) + +build() { + cd ${pkgname}-${pkgver} + # do not use bundled udev rules superseded by systemd + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_FLAGS="${CFLAGS} ${CPPFLAGS}" \ + -Wno-dev \ + -S . + make -C build VERBOSE=1 +} + +package() { + cd ${pkgname}-${pkgver} + make -C build DESTDIR="${pkgdir}" install + install -Dm 644 NEWS README.adoc -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim: ts=2 sw=2 et: