void-packages/srcpkgs/nitrokey-app/template

20 lines
657 B
Bash

# Template file for 'nitrokey-app'
pkgname=nitrokey-app
version=0.3.2
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="qt5-devel libusb-devel"
short_desc="Management application for Nitrokey tokens"
maintainer="Renato Aguiar <contact@renatoaguiar.org>"
license="GPL-3, Apache-2.0"
homepage="https://github.com/Nitrokey/nitrokey-app"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=15fc4669d85546d3582db74df3972142844386789692ce05b08ce428329ba9e9
post_extract() {
sed -i CMakeLists.txt \
-e 's|/etc/udev/rules.d|/usr/lib/udev/rules.d|g' \
-e 's|/etc/bash_completion.d|/usr/share/bash-completion/completions|g'
}