aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-rack
diff options
context:
space:
mode:
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"