aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-bundler
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-25 14:05:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-26 14:21:41 +0000
commitb54096e84db4fd863332e82af1fbb0f508a95384 (patch)
tree49177f443f26be7cebdbf5f6035b09bd36a483f3 /main/ruby-bundler
parente092a1cc760684105f19d4166dd5df936e2fbe32 (diff)
downloadaports-b54096e84db4fd863332e82af1fbb0f508a95384.tar.bz2
aports-b54096e84db4fd863332e82af1fbb0f508a95384.tar.xz
main/ruby-bundler: upgrade to 1.9.1 and fix bin symlinks
Diffstat (limited to 'main/ruby-bundler')
-rw-r--r--main/ruby-bundler/APKBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/main/ruby-bundler/APKBUILD b/main/ruby-bundler/APKBUILD
index 14d72447e2..376beae47d 100644
--- a/main/ruby-bundler/APKBUILD
+++ b/main/ruby-bundler/APKBUILD
@@ -1,15 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_gemname=bundler
pkgname=ruby-$_gemname
-pkgver=1.7.9
+pkgver=1.9.1
pkgrel=0
pkgdesc="Manage an application's gem dependencies"
url="http://gembundler.com/"
arch="noarch"
license="MIT"
-depends="ruby"
+depends="ruby ruby-io-console"
depends_dev=
-makedepends="$depends_dev ruby"
+makedepends="$depends_dev"
install=""
subpackages=""
source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
@@ -30,8 +30,16 @@ package() {
rm -rf "$pkgdir"/$_gemdir/cache \
"$pkgdir"/$_geminstdir/ext \
"$pkgdir"/$_geminstdir/.require_paths
+
+ cd "$pkgdir"
+ for i in usr/lib/ruby/gems/*/bin/*; do
+ if [ -e "$i" ]; then
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s /$i "$pkgdir"/usr/bin/
+ fi
+ done
}
-md5sums="8b815a1e9460ae43f035c807a21bc93e bundler-1.7.9.gem"
-sha256sums="9579b8c55f850196ebf6940a10b34ceb54d7670317af9b969abe9f007300a2bd bundler-1.7.9.gem"
-sha512sums="d9c4880566971c329ae55df6e31434aa10900bea3483bb490f56f238b070e0c7ce6f7b46016213608d202e0251d4eba926b38458805533db906f5ee808058f95 bundler-1.7.9.gem"
+md5sums="b0559ab705fbbd91a029243557f0960b bundler-1.9.1.gem"
+sha256sums="55a9d7e34133130614c4552886fa4a480a33fb44f2479ebbee3b6ea33d2888ab bundler-1.9.1.gem"
+sha512sums="cd6ee9acf017f96693e4fbe4758dc0f9e55cc2a6d63101eeca478339f5a6a8cef96b8bc81d26aa610ef5111955af42973367d16a879f053401ecb84aa1878999 bundler-1.9.1.gem"