diff --git a/srcpkgs/hex/template b/srcpkgs/hex/template new file mode 100644 index 0000000000..05d20ac439 --- /dev/null +++ b/srcpkgs/hex/template @@ -0,0 +1,21 @@ +# Template file for 'hex' +pkgname=hex +version=0.1.2 +revision=1 +hostmakedepends="cargo" +short_desc="Futuristic take on hexdump" +maintainer="SolitudeSF " +license="MIT" +homepage="https://github.com/sitkevij/hex" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=36793a5b0c2be13974b8436952888cc0fad7651fdabd378749e9adc8518dcf1c +nocross=yes + +do_build() { + cargo build --release ${makejobs} +} + +do_install() { + vbin target/release/hex + vlicense LICENSE +}