summaryrefslogtreecommitdiff
path: root/user/yubico-c/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 01:39:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 01:39:54 +0000
commit5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d (patch)
tree2b8febb001be429260957e56ae975964774f4aeb /user/yubico-c/APKBUILD
parent750ede08c898240f8c8c9e74277ca1580b3f10f3 (diff)
downloadpackages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.gz
packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.bz2
packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.xz
packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.zip
user/*: Modernise / fix syntax / metadata / deps
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
}