2018-09-25 12:59:20 +02:00
|
|
|
# Template file for 'oxipng'
|
|
|
|
pkgname=oxipng
|
2018-09-29 06:03:05 +02:00
|
|
|
version=2.1.4
|
2018-09-25 12:59:20 +02:00
|
|
|
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"
|
2018-09-29 06:03:05 +02:00
|
|
|
checksum=157d8039a3e0cbc29824888c3b9c2651789a4a9dd4c203c735150d3deeba266d
|
2018-09-25 12:59:20 +02:00
|
|
|
nocross=yes
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cargo build --release ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin target/release/oxipng
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|