aboutsummaryrefslogtreecommitdiffstats
path: root/testing/yubico-c-client/APKBUILD
blob: 05ea581ae9483362d2f9de458bd41b31d8ac2083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=yubico-c-client
pkgver=2.15
pkgrel=0
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"

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"