aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-06-21 15:56:09 +0200
committerBart Ribbers <bribbers@disroot.org>2021-06-21 15:56:09 +0200
commitddd4d0741b30c563fedb51fa908112d6a3b925e7 (patch)
tree6f0bf8fa4209940b48ecd9da9f1333cd720d8084
parent5234615c57ad00c1d75c2da63ac0a47ae43705ae (diff)
community/yubico-c: modernize
-rw-r--r--community/yubico-c/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/community/yubico-c/APKBUILD b/community/yubico-c/APKBUILD
index 8921212dbc5..6fe6efffc8f 100644
--- a/community/yubico-c/APKBUILD
+++ b/community/yubico-c/APKBUILD
@@ -13,12 +13,12 @@ builddir="$srcdir/libyubikey-$pkgver"
prepare() {
default_prepare
+
update_config_guess
update_config_sub
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -30,20 +30,17 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
tools() {
pkgdesc="$pkgdesc (CLI tools)"
- mkdir -p "$subpkgdir"/usr/
- mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+ amove usr/bin
}
sha512sums="28f45cb9817c30a70d168ae507d3f8014051058d730eed92b31d92e96784138dea291bda4275511c5f92a6427cb4249d76c802b8abb867cec50e62fb770950f2 libyubikey-1.13.tar.gz"