From 1dcfa63b6b0c59f3b2286f185e8849c07b888462 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 6 Oct 2022 19:21:14 +0200 Subject: community/ruby-digest: bootstrapping --- community/ruby-digest/PKGBUILD | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 community/ruby-digest/PKGBUILD (limited to 'community/ruby-digest/PKGBUILD') diff --git a/community/ruby-digest/PKGBUILD b/community/ruby-digest/PKGBUILD new file mode 100644 index 00000000..5fc94708 --- /dev/null +++ b/community/ruby-digest/PKGBUILD @@ -0,0 +1,16 @@ +# bootstrapping with ruby-bootstrap in /opt/ruby-xxx +depends=(${depends[@]//ruby/}) +depends+='ruby-bootstrap' + +# install to final destination in /usr and not into /opt/ruby-xxx +eval "$( + declare -f package | \ + sed ' + s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + ' +)" + +# break test circle of dependencies on ourselves.. ;-) +checkdepends=(${checkdepends[@]//ruby-digest/}) +unset check + -- cgit v1.2.3-54-g00ecf