From 61a6ea38af60b1ffc614ee954725c578b6ebe1aa Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 8 Oct 2022 12:07:09 +0200 Subject: build-support/ruby-bootstrap: building a version not poluting /usr namespace --- build-support/ruby-bootstrap/PKGBUILD | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'build-support/ruby-bootstrap') diff --git a/build-support/ruby-bootstrap/PKGBUILD b/build-support/ruby-bootstrap/PKGBUILD index 8c50aec5..d700fa62 100644 --- a/build-support/ruby-bootstrap/PKGBUILD +++ b/build-support/ruby-bootstrap/PKGBUILD @@ -44,18 +44,11 @@ package_ruby-bootstrap() { 'ruby-docs: Ruby documentation' 'tk: for Ruby/TK' ) - provides=('ruby' 'rubygems') - conflicts=('ruby' 'rubygems') cd ruby-${pkgver} make DESTDIR="${pkgdir}" install-nodoc install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}-${pkgver}/LICENSE" - install -D -m644 BSDL "${pkgdir}/usr/share/licenses/${pkgname}-${pkgver}/BSDL" - - # make sure we have binaries in the path - mkdir -p "${pkgdir}"/usr/bin - ln -s /opt/"${pkgname}-${pkgver}"/bin/ruby "${pkgdir}"/usr/bin/ruby - ln -s /opt/"${pkgname}-${pkgver}"/bin/gem "${pkgdir}"/usr/bin/gem + install -D -m644 BSDL "${pkgdir}/usr/share/licenses/${pkgname}-${pkgver}/BSDL" } -- cgit v1.2.3-70-g09d2