22 lines
650 B
Bash
22 lines
650 B
Bash
# Template file for 'oxipng'
|
|
pkgname=oxipng
|
|
version=5.0.0
|
|
revision=1
|
|
build_style=cargo
|
|
short_desc="Multithreaded lossless PNG compression optimizer"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
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=2a3197c9a0afdd91967f9981da7ce684b40eced4191c26c167b3c214a7cfd9ec
|
|
|
|
pre_build() {
|
|
# fixes an indexmap error when cross compiling
|
|
cargo update --package autocfg:1.0.1 --precise 1.1.0
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|