From 253bbca8993ae941a3aab99da8ed51fee9777192 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 6 Oct 2022 16:57:12 +0200 Subject: community/ruby-rake: building for ruby-bootstrap into /opt first --- community/ruby-rake/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'community/ruby-rake') diff --git a/community/ruby-rake/PKGBUILD b/community/ruby-rake/PKGBUILD index 90a27a2a..961dcd18 100644 --- a/community/ruby-rake/PKGBUILD +++ b/community/ruby-rake/PKGBUILD @@ -1,3 +1,12 @@ # bootstrapping with ruby-bootstrap in /opt/ruby-xxx depends=(${depends[@]//ruby/}) depends+='ruby-bootstrap' + +# create /opt/ruby-xxx/bin +eval "$( + declare -f package | \ + sed ' + /_gemdir/ a mkdir -p "${pkgdir}"/usr/bin + ' +)" + -- cgit v1.2.3-54-g00ecf