diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template new file mode 100644 index 00000000000..06bc32e05c7 --- /dev/null +++ b/srcpkgs/openpgp-card-tools/template @@ -0,0 +1,21 @@ +# Template file for 'openpgp-card-tools' +pkgname=openpgp-card-tools +version=0.9.0 +revision=1 +wrksrc="${pkgname}-v${version}" +build_wrksrc="tools" +build_style=cargo +hostmakedepends="pkg-config llvm clang" +makedepends="nettle-devel pcsclite-devel" +depends="pcsclite pcsc-ccid" +short_desc="Tools for inspecting, configuring and using OpenPGP cards" +maintainer="Jan Christian Grünhage " +license="MIT, Apache-2.0" +homepage="https://gitlab.com/openpgp-card/openpgp-card" +distfiles="${homepage}/-/archive/tools/v${version}/${wrksrc}.tar.gz" +checksum=62033a23a70065b2d9fba3b55dc0c55c385c0e266a319c1659b21d4ff619f7eb + +post_install() { + vlicense "../LICENSES/MIT.txt" + vdoc "README.md" +} diff --git a/srcpkgs/openpgp-card-tools/update b/srcpkgs/openpgp-card-tools/update new file mode 100644 index 00000000000..62c2355e5b1 --- /dev/null +++ b/srcpkgs/openpgp-card-tools/update @@ -0,0 +1,2 @@ +site="https://gitlab.com/openpgp-card/openpgp-card/-/tags?format=atom" +pattern="(openpgp-card-)?tools/v\K[\d.]+(?=)"