# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=yubico-c-client pkgver=2.15 pkgrel=2 pkgdesc="Yubico C client library" url="https://developers.yubico.com/yubico-c-client/" arch="all" license="BSD-2-Clause" makedepends="curl-dev help2man" options="!check" # test hardcoded signatures on yubico API that aren't valid anymore subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="https://developers.yubico.com/yubico-c-client/Releases/ykclient-$pkgver.tar.gz" builddir="$srcdir/ykclient-$pkgver" prepare() { default_prepare update_config_sub update_config_guess } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } package() { make DESTDIR="$pkgdir" install } sha512sums="a6e00309330225c681702616aa9f5d7e042f33a22ebe7719c2d71276f1a660ed0dc180d7f50c24b1c65d7bba6e2f2285d03037d504e926ac75506c24e6826279 ykclient-2.15.tar.gz"