23 lines
744 B
Bash
23 lines
744 B
Bash
# Template file for 'libnitrokey'
|
|
pkgname=libnitrokey
|
|
version=3.8
|
|
revision=2
|
|
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-or-later"
|
|
homepage="https://github.com/Nitrokey/libnitrokey"
|
|
distfiles="https://github.com/Nitrokey/libnitrokey/releases/download/v${version}/libnitrokey-v${version}.tar.gz"
|
|
checksum=3b7ebcfc47b2c45313bc5f17842f0160cbaf87f41d2621af18c5b56837e393a1
|
|
|
|
libnitrokey-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|