mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
oxipng: use cargo buildstyle
This commit is contained in:
parent
c9a8816822
commit
27a88f05a8
1 changed files with 4 additions and 9 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'oxipng'
|
# Template file for 'oxipng'
|
||||||
pkgname=oxipng
|
pkgname=oxipng
|
||||||
version=2.1.5
|
version=2.1.5
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cargo"
|
build_style=cargo
|
||||||
short_desc="Multithreaded lossless PNG compression optimizer"
|
short_desc="Multithreaded lossless PNG compression optimizer"
|
||||||
maintainer="cr6git <quark6@protonmail.com>"
|
maintainer="cr6git <quark6@protonmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -10,13 +10,8 @@ homepage="https://github.com/shssoichiro/oxipng"
|
||||||
changelog="https://raw.githubusercontent.com/shssoichiro/oxipng/master/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/shssoichiro/oxipng/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/shssoichiro/oxipng/archive/v${version}.tar.gz"
|
distfiles="https://github.com/shssoichiro/oxipng/archive/v${version}.tar.gz"
|
||||||
checksum=5f050a5c3ba4be302dfc88d14564e2402b7d0927372ab2b1ae2a72bdbf51dba6
|
checksum=5f050a5c3ba4be302dfc88d14564e2402b7d0927372ab2b1ae2a72bdbf51dba6
|
||||||
nocross=yes
|
nocross="Needs newer/unstable rust: error[E0658]: macro is_arm_feature_detected! is unstable"
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/oxipng
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue