void-packages/srcpkgs/ion/template
2017-08-21 22:43:36 +07:00

22 lines
600 B
Bash

# Template file for 'ion'
pkgname=ion
version=1.0.5
revision=1
hostmakedepends="cargo rust"
register_shell="/bin/ion"
short_desc="The Ion Shell, written in Rust"
maintainer="Muhammad Herdiansyah <herdiansyah@opmbx.org>"
license="MIT"
nostrip="yes" # Stripping binaries doesn't work in ARM, Remove once fixed.
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
vlicense LICENSE
}