# Template file for 'rbenv'
pkgname=rbenv
version=1.3.2
revision=1
build_style="configure"
configure_script="src/configure"
make_build_args="-C"
make_build_target="src"
depends="ruby-build"
short_desc="Manage your app's Ruby environment"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/rbenv/rbenv"
distfiles="https://github.com/rbenv/rbenv/archive/refs/tags/v${version}.tar.gz"
checksum=e2104f6472d7a8477409c46d4de39562b4d01899148a3dbed73c1d99a0b4bb2a

do_install() {
	vbin "${FILESDIR}/rbenv"
	vmkdir usr/libexec/rbenv
	vcopy libexec/* usr/libexec/rbenv
	vmkdir /usr/share/bash-completion/completions/
	vcopy completions/rbenv.bash /usr/share/bash-completion/completions/
	vlicense LICENSE
	vdoc README.md
}
