diff --git a/srcpkgs/nitrokey-app/template b/srcpkgs/nitrokey-app/template new file mode 100644 index 00000000000..afb4a862e93 --- /dev/null +++ b/srcpkgs/nitrokey-app/template @@ -0,0 +1,19 @@ +# 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 " +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' +}