diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-25 14:35:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-26 14:21:41 +0000 |
commit | 3f0e94459bb38fcc6225d777028d2ed105b9caec (patch) | |
tree | 5ccf2da1b159bcc27e76b617662b4677e7db1d9c /main/ruby-rack | |
parent | b1902d8506604128841d8394761c09a7f1c71166 (diff) | |
download | aports-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/APKBUILD | 12 |
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" |