ion: use cargo buildstyle

This commit is contained in:
Rasmus Thomsen 2018-10-02 01:08:36 +02:00 committed by Enno Boland
parent 0f3e363cd4
commit 89f4c86160

View File

@ -1,8 +1,8 @@
# Template file for 'ion' # Template file for 'ion'
pkgname=ion pkgname=ion
version=1.0.5 version=1.0.5
revision=1 revision=2
hostmakedepends="cargo rust" build_style=cargo
register_shell="/bin/ion" register_shell="/bin/ion"
short_desc="The Ion Shell, written in Rust" short_desc="The Ion Shell, written in Rust"
maintainer="Muhammad Herdiansyah <herdiansyah@opmbx.org>" maintainer="Muhammad Herdiansyah <herdiansyah@opmbx.org>"
@ -12,11 +12,6 @@ homepage="https://github.com/redox-os/ion"
distfiles="${homepage}/archive/${version}/${pkgname}-${version}.tar.gz" distfiles="${homepage}/archive/${version}/${pkgname}-${version}.tar.gz"
checksum="7c7f696060a82669cb9c73cf0ec1d07d4ffefbfd54fc60acad0179ca3f46716d" checksum="7c7f696060a82669cb9c73cf0ec1d07d4ffefbfd54fc60acad0179ca3f46716d"
do_build() { post_install() {
cargo build --release
}
do_install() {
vbin target/release/ion
vlicense LICENSE vlicense LICENSE
} }