void-packages/srcpkgs/rbenv/template

26 lines
750 B
Bash

# Template file for 'rbenv'
pkgname=rbenv
version=1.3.0
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=7e49e529ce0c876748fa75a61efdd62efa2634906075431a1818b565825eb758
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
}