diff --git a/srcpkgs/mdcat/template b/srcpkgs/mdcat/template new file mode 100644 index 00000000000..db6e3bbd681 --- /dev/null +++ b/srcpkgs/mdcat/template @@ -0,0 +1,21 @@ +# Template file for 'mdcat' +pkgname=mdcat +version=0.4.0 +revision=1 +wrksrc=${pkgname}-${pkgname}-${version} +hostmakedepends="cargo cmake" +short_desc="Cat for markdown" +maintainer="Wilson Birney " +license="Apache License 2.0" +homepage="https://github.com/lunaryorn/mdcat" +distfiles="https://github.com/lunaryorn/mdcat/archive/mdcat-${version}.tar.gz" +checksum=99e8f2f0bf5cedce3d58ff52f5d2e0d8854fddde208d1656df0b11dd7931ab95 +nocross=yes + +do_build() { + cargo build --release ${makejobs} +} + +do_install() { + vbin target/release/${pkgname} +}