void-packages/srcpkgs/ion/template
Jürgen Buchmüller c1115e4660 ion: update to latest git revision
No release tag since 2017-07-15 and the alpha release 1.0.5 fails to build.
2021-01-03 02:59:38 +01:00

22 lines
599 B
Bash

# Template file for 'ion'
pkgname=ion
version=1.0.5.20201230
revision=1
_githash=2bc8826a97929b1878375a5c747e5c4cfed2b10b
wrksrc="${pkgname}-${_githash}"
build_style=cargo
short_desc="Ion shell, written in Rust"
maintainer="Muhammad Herdiansyah <herdiansyah@opmbx.org>"
license="MIT"
homepage="https://github.com/redox-os/ion"
distfiles="${homepage}/archive/${_githash}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=8ab295c5ff40de6b7a8dd93ee8d417b6e884f2b66b628409e4cd9345d70e9c00
register_shell="/bin/ion"
pre_build() {
echo ${_githash} > git_revision.txt
}
post_install() {
vlicense LICENSE
}