22 lines
605 B
Bash
22 lines
605 B
Bash
# Template file for 'ruby-build'
|
|
pkgname=ruby-build
|
|
version=20221124
|
|
revision=1
|
|
depends="bash"
|
|
short_desc="Compile and install Ruby"
|
|
maintainer="b-l-a-i-n-e <blaine.gilbreth@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/rbenv/ruby-build"
|
|
distfiles="https://github.com/rbenv/ruby-build/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=4fb3817ee0ecc2c46cce526a4b07fe97dfa56975a1767a4d454bc4c3afbc60cf
|
|
|
|
do_install() {
|
|
vbin bin/ruby-build
|
|
vbin bin/rbenv-install
|
|
vbin bin/rbenv-uninstall
|
|
vmkdir usr/share/ruby-build
|
|
vcopy share/ruby-build/* usr/share/ruby-build
|
|
vlicense LICENSE
|
|
vdoc README.md
|
|
}
|