summaryrefslogtreecommitdiff
path: root/user/yubico-c/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/yubico-c/APKBUILD')
-rw-r--r--user/yubico-c/APKBUILD10
1 files changed, 4 insertions, 6 deletions
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
}