# Template file for 'oxipng'
pkgname=oxipng
version=2.1.5
revision=1
hostmakedepends="cargo"
short_desc="Multithreaded lossless PNG compression optimizer"
maintainer="cr6git <quark6@protonmail.com>"
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=5f050a5c3ba4be302dfc88d14564e2402b7d0927372ab2b1ae2a72bdbf51dba6
nocross=yes

do_build() {
	cargo build --release ${makejobs}
}

do_install() {
	vbin target/release/oxipng
	vlicense LICENSE
}
