aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-rack
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-25 14:35:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-26 14:21:41 +0000
commit3f0e94459bb38fcc6225d777028d2ed105b9caec (patch)
tree5ccf2da1b159bcc27e76b617662b4677e7db1d9c /main/ruby-rack
parentb1902d8506604128841d8394761c09a7f1c71166 (diff)
downloadaports-3f0e94459bb38fcc6225d777028d2ed105b9caec.tar.bz2
aports-3f0e94459bb38fcc6225d777028d2ed105b9caec.tar.xz
main/ruby-rack: rebuild against ruby 2.2 and fix bin symlinks
Diffstat (limited to 'main/ruby-rack')
-rw-r--r--main/ruby-rack/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/main/ruby-rack/APKBUILD b/main/ruby-rack/APKBUILD
index 42b47c5034..63ddd754ea 100644
--- a/main/ruby-rack/APKBUILD
+++ b/main/ruby-rack/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Matt Smith <mcs@darkregion.net>
-# Maintainer: Matt Smith <mcs@darkregion.net>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ruby-rack
_gemname=rack
pkgver=1.6.0
-pkgrel=0
+pkgrel=1
pkgdesc="Rack is a Ruby Webserver Interface"
url="http://rack.rubyforge.org/"
arch="noarch"
@@ -31,6 +31,14 @@ 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="9c1281dd0c486b931a52445a703a4eaa rack-1.6.0.gem"