ion: use cargo buildstyle
This commit is contained in:
parent
0f3e363cd4
commit
89f4c86160
|
@ -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 <herdiansyah@opmbx.org>"
|
||||
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue