New package: libnitrokey-3.4.1

This commit is contained in:
Julio Galvan 2019-05-14 17:54:02 -07:00 committed by Enno Boland
parent d2aa49d1d7
commit d3f431f7b1
3 changed files with 29 additions and 0 deletions

View file

@ -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

1
srcpkgs/libnitrokey-devel Symbolic link
View file

@ -0,0 +1 @@
libnitrokey

View file

@ -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 <juliogalvan@protonmail.com>"
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
}
}