diff --git a/srcpkgs/ion/template b/srcpkgs/ion/template new file mode 100644 index 00000000000..a50f9f418ed --- /dev/null +++ b/srcpkgs/ion/template @@ -0,0 +1,22 @@ +# 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 " +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 +}