New package: rbenv-1.2.0

This commit is contained in:
b-l-a-i-n-e 2021-12-15 13:33:12 -08:00 committed by Piotr
parent 4103a2be06
commit e7599d6645
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
LD_LIBRARY_PATH=/usr/libexec/rbenv exec /usr/libexec/rbenv/rbenv "$@"

25
srcpkgs/rbenv/template Normal file
View file

@ -0,0 +1,25 @@
# 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
}