diff options
author | Philipp Wolfer | 2018-02-14 09:29:19 +0100 |
---|---|---|
committer | Philipp Wolfer | 2018-02-14 09:29:19 +0100 |
commit | be38b426576951b1543b2fb9347608b5e96d2435 (patch) | |
tree | ca55dc409a1bd3f6b70603744c3c3b677f534fd8 | |
parent | bc5c07ffa71ed6c738ca56473762b0a7e2aa9aa1 (diff) | |
download | aur-be38b426576951b1543b2fb9347608b5e96d2435.tar.gz |
Fixed gemdir detection for Ruby 2.5
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 5 deletions
@@ -1,9 +1,7 @@ -# Generated by mksrcinfo v8 -# Fri Feb 17 08:21:04 UTC 2017 pkgbase = ruby-discid pkgdesc = Ruby bindings for the MusicBrainz DiscID library libdiscid. pkgver = 1.3.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/phw/ruby-discid arch = any license = LGPL3 @@ -2,7 +2,7 @@ _gemname=discid pkgname=ruby-$_gemname pkgver=1.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="Ruby bindings for the MusicBrainz DiscID library libdiscid." arch=(any) url="https://github.com/phw/ruby-discid" @@ -17,7 +17,7 @@ package() { cd "$srcdir" # _gemdir is defined inside package() because if ruby[gems] is not installed on # the system, makepkg will exit with an error when sourcing the PKGBUILD. - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" \ -n "$pkgdir/usr/bin" "$_gemname-$pkgver.gem" |