void-packages/srcpkgs/ruby-build/template

22 lines
605 B
Bash

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