void-packages/srcpkgs/libnitrokey/template

23 lines
673 B
Bash

# Template file for 'libnitrokey'
pkgname=libnitrokey
version=3.5
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=d836f2f20c5b24088542da445893ef0a04834dca7dd8eef020e793de0601bb5a
libnitrokey-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}