diff --git a/srcpkgs/oxipng/template b/srcpkgs/oxipng/template new file mode 100644 index 00000000000..b8b6ffb0e71 --- /dev/null +++ b/srcpkgs/oxipng/template @@ -0,0 +1,22 @@ +# Template file for 'oxipng' +pkgname=oxipng +version=2.1.3 +revision=1 +hostmakedepends="cargo" +short_desc="Multithreaded lossless PNG compression optimizer" +maintainer="cr6git " +license="MIT" +homepage="https://github.com/shssoichiro/oxipng" +changelog="https://raw.githubusercontent.com/shssoichiro/oxipng/master/CHANGELOG.md" +distfiles="https://github.com/shssoichiro/oxipng/archive/v${version}.tar.gz" +checksum=c605907ba9152a7661034a431409d000fa5966e624018663dde70d0279f7850a +nocross=yes + +do_build() { + cargo build --release ${makejobs} +} + +do_install() { + vbin target/release/oxipng + vlicense LICENSE +}