diff options
Diffstat (limited to 'main/ruby-bundler')
-rw-r--r-- | main/ruby-bundler/APKBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/main/ruby-bundler/APKBUILD b/main/ruby-bundler/APKBUILD index a697ff2983..ee33c6981f 100644 --- a/main/ruby-bundler/APKBUILD +++ b/main/ruby-bundler/APKBUILD @@ -1,28 +1,27 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> _gemname=bundler pkgname=ruby-$_gemname -pkgver=1.15.1 +pkgver=1.15.2 pkgrel=0 pkgdesc="Manage an application's gem dependencies" url="https://bundler.io/" arch="noarch" license="MIT" depends="ruby ruby-io-console" -makedepends="" source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" builddir="$srcdir/$_gemname-$pkgver" package() { local gemdir="$pkgdir/$(ruby -rubygems -e 'puts Gem.default_dir')" - mkdir -p "$pkgdir"/usr/bin || return 1 + mkdir -p "$pkgdir"/usr/bin gem install --local \ --install-dir "$gemdir" \ --ignore-dependencies \ --no-document \ --verbose \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 + "$srcdir"/$_gemname-$pkgver.gem rm -rf "$gemdir"/cache \ "$gemdir"/build_info \ @@ -31,9 +30,9 @@ package() { cd "$pkgdir" local path; for path in usr/lib/ruby/gems/*/bin/*; do if [ -f "$path" ]; then - ln -s /$path "$pkgdir"/usr/bin/ || return 1 + ln -s /$path "$pkgdir"/usr/bin/ fi done } -sha512sums="c4d2b7f9483ce6fef090f4114d740bd95e92cd619625477d9efed4e56decddfff4f0490368bc509f4f1a1b888476ed4ef8ff99f2bf49d73a8fc12cbd259cfda9 bundler-1.15.1.gem" +sha512sums="3c57d8d4c1741f769d5347c284e425d64f5445fed9bb8ed581e38c2a499e8a6989d1a5d949d3d6f884c8f74ebf79c6152208b2b1056546bd5260bdc8c936af4e bundler-1.15.2.gem" |