From d3f431f7b1020cacb6a16c8d2148b191df70b79b Mon Sep 17 00:00:00 2001 From: Julio Galvan Date: Tue, 14 May 2019 17:54:02 -0700 Subject: [PATCH] New package: libnitrokey-3.4.1 --- common/shlibs | 1 + srcpkgs/libnitrokey-devel | 1 + srcpkgs/libnitrokey/template | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 120000 srcpkgs/libnitrokey-devel create mode 100644 srcpkgs/libnitrokey/template diff --git a/common/shlibs b/common/shlibs index 39db18612b..26d30a2c37 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3464,3 +3464,4 @@ libgrpcpp_channelz.so.1 grpc-1.19.1_1 libircclient.so.1 libircclient-1.10_1 libFAudio.so.0 FAudio-19.05_1 libqaccessibilityclient-qt5.so.0 libqaccessibilityclient-0.4.0_1 +libnitrokey.so.3 libnitrokey-3.4.1_1 diff --git a/srcpkgs/libnitrokey-devel b/srcpkgs/libnitrokey-devel new file mode 120000 index 0000000000..8484a0a79a --- /dev/null +++ b/srcpkgs/libnitrokey-devel @@ -0,0 +1 @@ +libnitrokey \ No newline at end of file diff --git a/srcpkgs/libnitrokey/template b/srcpkgs/libnitrokey/template new file mode 100644 index 0000000000..b5ad08d5b5 --- /dev/null +++ b/srcpkgs/libnitrokey/template @@ -0,0 +1,27 @@ +# Template file for 'libnitrokey' +pkgname=libnitrokey +version=3.4.1 +revision=1 +build_style=cmake +hostmakedepends="pkg-config" +makedepends="hidapi-devel" +short_desc="Communicate with Nitrokey devices in a clean and easy manner" +maintainer="Julio Galvan " +license="LGPL-3.0" +homepage="https://github.com/Nitrokey/libnitrokey" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=224c92023a7b8ef88e7c66d158c9593fb309956dca4523bc3c5d1615a137cef6 + +post_extract() { + # plugdev group is deprecated + sed -i 's/GROUP+="plugdev",//' data/41-nitrokey.rules +} + +libnitrokey-devel_package() { + short_desc+=" - development files" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +}