ion: use cargo buildstyle
This commit is contained in:
parent
0f3e363cd4
commit
89f4c86160
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user