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/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/user/yubico-c/APKBUILD b/user/yubico-c/APKBUILD
index 926ecf235..5409c8b37 100644
--- a/user/yubico-c/APKBUILD
+++ b/user/yubico-c/APKBUILD
@@ -1,5 +1,5 @@
-# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
-# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
+# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=yubico-c
pkgver=1.13
pkgrel=2
@@ -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
}