From 5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 12 Jan 2020 01:39:54 +0000 Subject: user/*: Modernise / fix syntax / metadata / deps --- user/yubico-c/APKBUILD | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'user/yubico-c/APKBUILD') diff --git a/user/yubico-c/APKBUILD b/user/yubico-c/APKBUILD index 50e88d1c6..5409c8b37 100644 --- a/user/yubico-c/APKBUILD +++ b/user/yubico-c/APKBUILD @@ -8,19 +8,19 @@ url="https://developers.yubico.com/yubico-c/" arch="all" license="BSD-2-Clause" depends="" -makedepends="asciidoctor" +makedepends="asciidoctor autoconf automake libtool" subpackages="$pkgname-dev $pkgname-doc" source="yubico-c-libyubikey-$pkgver.tar.gz::https://github.com/Yubico/yubico-c/archive/libyubikey-$pkgver.tar.gz - use-asciidoctor.patch" + use-asciidoctor.patch + " builddir="$srcdir/$pkgname-libyubikey-$pkgver" prepare() { - cd "$builddir" default_prepare autoreconf -vif } + build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -32,12 +32,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir/" install } -- cgit v1.2.3-70-g09d2