Skip to content

Commit

Permalink
auto update for package ruby-benchmark_suite
Browse files Browse the repository at this point in the history
  • Loading branch information
lilacbot committed Jul 17, 2018
1 parent 88a45d6 commit 5ad5bc6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions ruby-benchmark_suite/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Generated with gembuild (https://github.com/mfinelli/gembuild)
# Maintainer: Mario Finelli <mario dot finelli at yahoo dot com>
# Maintainer: Mario Finelli <mario at finel dot li>

_gemname=benchmark_suite
pkgname=ruby-$_gemname
Expand All @@ -12,13 +11,19 @@ options=(!emptydirs)
license=('MIT')
noextract=($_gemname-$pkgver.gem)
depends=('ruby' 'ruby-benchmark-ips')
makedepends=('rubygems')
makedepends=('rubygems' 'ruby-rdoc')
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
sha256sums=('8dddd2129b9b691b3d0af33289a2805505ea4845aa33ac9f586a1cd0bc6d9e6a')

package() {
cd "$srcdir"
local _gemdir="$(ruby -e'puts Gem.default_dir')"

gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
gem install \
--ignore-dependencies \
--no-user-install \
-i "$pkgdir/$_gemdir" \
-n "$pkgdir/usr/bin" \
$_gemname-$pkgver.gem

rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
}

0 comments on commit 5ad5bc6

Please sign in to comment.