26 lines
758 B
Bash
26 lines
758 B
Bash
# Template file for 'rbenv'
|
|
pkgname=rbenv
|
|
version=1.2.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="b-l-a-i-n-e <blaine.gilbreth@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/rbenv/rbenv"
|
|
distfiles="https://github.com/rbenv/rbenv/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=3f3a31b8a73c174e3e877ccc1ea453d966b4d810a2aadcd4d8c460bc9ec85e0c
|
|
|
|
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
|
|
}
|