From 4103a2be061b5f9ffc8a338f84d0e20a49135fea Mon Sep 17 00:00:00 2001 From: b-l-a-i-n-e Date: Tue, 14 Dec 2021 10:54:44 -0800 Subject: [PATCH] New package: ruby-build-20211203 --- srcpkgs/ruby-build/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/ruby-build/template 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 +}