Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: ruby 3.0.1-1
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@411528 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
anatolik authored and svntogit committed Apr 5, 2021
1 parent 8edc7be commit bacd859
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions trunk/PKGBUILD
Expand Up @@ -4,16 +4,16 @@
# Contributor: Jeramy Rutley <jrutley@gmail.com>

pkgname=(ruby ruby-docs)
pkgver=3.0.0
pkgrel=3
pkgver=3.0.1
pkgrel=1
arch=(x86_64)
url='https://www.ruby-lang.org/en/'
license=(BSD custom)
depends=(libxcrypt)
makedepends=(gdbm openssl libffi doxygen graphviz libyaml ttf-dejavu tk)
options=(!emptydirs)
source=(https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz)
sha512sums=('2a23c2894e62e24bb20cec6b2a016b66d7df05083668726b6f70af8338211cfec417aa3624290d1f5ccd130f65ee7b52b5db7d428abc4a9460459c9a5dd1a450')
sha512sums=('97d2e883656060846b304368d9d836e2f3ef39859c36171c9398a0573818e4ed75bfd7460f901a9553f7f53518c505327a66e74f83704a881469f5ac61fe13d7')

build() {
cd ruby-${pkgver}
Expand Down Expand Up @@ -57,13 +57,11 @@ package_ruby() {
# remove rubygems as it shipped as a separate package
rm -r "${pkgdir}"/usr/lib/ruby/${rubyver}/{rubygems,rubygems.rb}
rm "${pkgdir}"/usr/bin/gem
rm "${pkgdir}"/usr/share/man/man5/gemfile.5

# remove bundler as it shipped as a separate package
rm -r "${pkgdir}"/usr/lib/ruby/${rubyver}/{bundler,bundler.rb}
rm "${pkgdir}"/usr/bin/{bundle,bundler}
rm "${pkgdir}"/usr/lib/ruby/gems/${rubyver}/specifications/default/bundler-*.gemspec
rm "${pkgdir}"/usr/share/man/man1/{bundle,bundle-*}.1

# remove bundled rdoc gem
rm -r "${pkgdir}"/usr/lib/ruby/${rubyver}/{rdoc,rdoc.rb}
Expand Down

0 comments on commit bacd859

Please sign in to comment.