void-packages/srcpkgs/ruby-build/template

22 lines
605 B
Bash

# Template file for 'ruby-build'
pkgname=ruby-build
version=20211227
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=7a07eae6d6948f79a8ffecd7a493fb887e10326c429fe55cfe1bda65146db824
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
}