From 27a88f05a84f9db04b781b0f46df40523ceb9643 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 2 Oct 2018 01:21:54 +0200 Subject: [PATCH] oxipng: use cargo buildstyle --- srcpkgs/oxipng/template | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/srcpkgs/oxipng/template b/srcpkgs/oxipng/template index 0444b02fd10..7a47219bac6 100644 --- a/srcpkgs/oxipng/template +++ b/srcpkgs/oxipng/template @@ -1,8 +1,8 @@ # Template file for 'oxipng' pkgname=oxipng version=2.1.5 -revision=1 -hostmakedepends="cargo" +revision=2 +build_style=cargo short_desc="Multithreaded lossless PNG compression optimizer" maintainer="cr6git " license="MIT" @@ -10,13 +10,8 @@ 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 +nocross="Needs newer/unstable rust: error[E0658]: macro is_arm_feature_detected! is unstable" -do_build() { - cargo build --release ${makejobs} -} - -do_install() { - vbin target/release/oxipng +post_install() { vlicense LICENSE }