diff --git a/srcpkgs/ruby-build/template b/srcpkgs/ruby-build/template new file mode 100644 index 0000000000..8ba698addb --- /dev/null +++ b/srcpkgs/ruby-build/template @@ -0,0 +1,21 @@ +# 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 " +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 +}