From 2c3336ce8a9fe09e90bf0676c33fc04dafec7921 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Sat, 7 Aug 2021 17:45:46 +0000 Subject: [PATCH] rmpkg: ruby-tomlrb --- ruby-tomlrb/PKGBUILD | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 ruby-tomlrb/PKGBUILD diff --git a/ruby-tomlrb/PKGBUILD b/ruby-tomlrb/PKGBUILD deleted file mode 100644 index e20e30f..0000000 --- a/ruby-tomlrb/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: George Rawlinson -# Contributor: Eric Berquist -# Contributor: Hyacinthe Cartiaux - -_gemname=tomlrb -pkgname=ruby-$_gemname -pkgver=2.0.1 -pkgrel=1 -pkgdesc="A racc based toml parser" -arch=('any') -url="https://github.com/fbernier/tomlrb" -license=('MIT') -depends=('ruby') -makedepends=('rubygems' 'ruby-rdoc') -options=('!emptydirs') -source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem") -noextract=("$_gemname-$pkgver.gem") -b2sums=('f48dd8ad891c962aaddced0badc795d64f558b18e6c933e731b589688665eb8c209d647f0f5c51cfb03983ec10d91e7517fb58a69ed0bd871ee2ef3f7ead31cd') - -package() { - local _gemdir="$(ruby -e'puts Gem.default_dir')" - - gem install \ - --ignore-dependencies \ - --no-user-install \ - --no-document \ - --install-dir "$pkgdir/$_gemdir" \ - --bindir "$pkgdir/usr/bin" \ - "$_gemname-$pkgver.gem" - - # delete cache - cd "$pkgdir/$_gemdir" - rm -vrf cache - - # move license - cd "gems/$_gemname-$pkgver" - install -vd "$pkgdir/usr/share/licenses/$pkgname" - mv -vt "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt -}