From f5e4e962164d249e66bb33ea81492bb6eebb04b0 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Thu, 12 Dec 2019 11:08:49 +0100 Subject: community/libnitrokey: move from testing --- community/libnitrokey/APKBUILD | 27 +++++++++++++++++++++++++++ testing/libnitrokey/APKBUILD | 27 --------------------------- 2 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 community/libnitrokey/APKBUILD delete mode 100644 testing/libnitrokey/APKBUILD diff --git a/community/libnitrokey/APKBUILD b/community/libnitrokey/APKBUILD new file mode 100644 index 0000000000..74c47126dd --- /dev/null +++ b/community/libnitrokey/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=libnitrokey +pkgver=3.5 +pkgrel=0 +arch="all" +url="https://nitrokey.com/" +pkgdesc="Communicate with Nitrokey devices in a clean and easy manner" +license="LGPL-3.0-or-later" +makedepends="cmake hidapi-dev" +source="https://github.com/Nitrokey/libnitrokey/archive/v$pkgver/libnitrokey-v$pkgver.tar.gz" +subpackages="$pkgname-dev" +options="!check" # No tests + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="d2a95071e92d839c8cde4ac1435158bb469c25662f2988a4e824dbc0dfe83af841e6d04589293deddd77746dbec17b30c50fab69af58cc727ed5e0f2dbd0b5e7 libnitrokey-v3.5.tar.gz" diff --git a/testing/libnitrokey/APKBUILD b/testing/libnitrokey/APKBUILD deleted file mode 100644 index 74c47126dd..0000000000 --- a/testing/libnitrokey/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Bart Ribbers -# Maintainer: Bart Ribbers -pkgname=libnitrokey -pkgver=3.5 -pkgrel=0 -arch="all" -url="https://nitrokey.com/" -pkgdesc="Communicate with Nitrokey devices in a clean and easy manner" -license="LGPL-3.0-or-later" -makedepends="cmake hidapi-dev" -source="https://github.com/Nitrokey/libnitrokey/archive/v$pkgver/libnitrokey-v$pkgver.tar.gz" -subpackages="$pkgname-dev" -options="!check" # No tests - -build() { - cmake \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib - make -} - -package() { - DESTDIR="$pkgdir" make install -} - -sha512sums="d2a95071e92d839c8cde4ac1435158bb469c25662f2988a4e824dbc0dfe83af841e6d04589293deddd77746dbec17b30c50fab69af58cc727ed5e0f2dbd0b5e7 libnitrokey-v3.5.tar.gz" -- cgit v1.2.3