diff --git a/ruby-parallel/PKGBUILD b/ruby-parallel/PKGBUILD deleted file mode 100644 index 5c1c4bc..0000000 --- a/ruby-parallel/PKGBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Maintainer: George Rawlinson -# Contributor: Mario Finelli -# Contributor: Benjamin Chrétien - -pkgname=ruby-parallel -_gemname="${pkgname#ruby-}" -pkgver=1.22.1 -pkgrel=1 -pkgdesc='Ruby: parallel processing made simple and fast' -arch=('any') -url='https://github.com/grosser/parallel' -license=('MIT') -depends=('ruby') -makedepends=('ruby-rdoc') -options=('!emptydirs') -source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem") -noextract=("$_gemname-$pkgver.gem") -sha512sums=('b8e611cac5608d27e9d9d264575b2150af45240ef4503389b4a8d73443df0d8f8ca8a96f71e17208a84956aee47cc436eed80103f277d218444c3891167559eb') -b2sums=('96b84e236b222d2571a6bb463c91509fd33590e3d7634bf7be8e45c523fa29f5c3f7b7bf797c86b4faf0a93085469a5dbdb92fbb13382d739777ddb5b27e73d9') - -package() { - local _gemdir="$(ruby -e'puts Gem.default_dir')" - - gem install \ - --verbose \ - --ignore-dependencies \ - --no-document \ - --no-user-install \ - --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" MIT-LICENSE.txt - - # generate reproducible documentation - install -vd "$pkgdir/$_gemdir/doc/$_gemname-$pkgver" - cd "$pkgdir/$_gemdir/gems/$_gemname-$pkgver" - rdoc \ - --format ri \ - --output "$pkgdir$_gemdir/doc/$_gemname-$pkgver/ri" \ - ./lib - # delete unnecessary rdoc metadata file - rm -f "$pkgdir$_gemdir/doc/$_gemname-$pkgver/ri/created.rid" -}