From 3a66518aa385182515ec7a2f4fda08d82936911c Mon Sep 17 00:00:00 2001 From: cr6git Date: Tue, 25 Sep 2018 12:59:20 +0200 Subject: [PATCH] New package: oxipng-2.1.3 --- srcpkgs/oxipng/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/oxipng/template 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 +}