void-packages/srcpkgs/nitrokey-app/template

20 lines
655 B
Bash
Raw Normal View History

2016-03-12 18:33:33 +01:00
# Template file for 'nitrokey-app'
pkgname=nitrokey-app
version=0.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=7d907c722aa621e7510e488358c0ddb533f433aee94a75865729c76e6e5071e7
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'
}