From 89f4c86160706e40e70ede1a9dcadd2f18bf7735 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 2 Oct 2018 01:08:36 +0200 Subject: [PATCH] ion: use cargo buildstyle --- srcpkgs/ion/template | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/srcpkgs/ion/template b/srcpkgs/ion/template index a50f9f418e..53e924551e 100644 --- a/srcpkgs/ion/template +++ b/srcpkgs/ion/template @@ -1,8 +1,8 @@ # Template file for 'ion' pkgname=ion version=1.0.5 -revision=1 -hostmakedepends="cargo rust" +revision=2 +build_style=cargo register_shell="/bin/ion" short_desc="The Ion Shell, written in Rust" maintainer="Muhammad Herdiansyah " @@ -12,11 +12,6 @@ homepage="https://github.com/redox-os/ion" distfiles="${homepage}/archive/${version}/${pkgname}-${version}.tar.gz" checksum="7c7f696060a82669cb9c73cf0ec1d07d4ffefbfd54fc60acad0179ca3f46716d" -do_build() { - cargo build --release -} - -do_install() { - vbin target/release/ion +post_install() { vlicense LICENSE }