diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-25 20:32:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-26 14:21:43 +0000 |
commit | dacc6a7540e75af87291bc95fdd0943c58ee207d (patch) | |
tree | 5a497b54807d080aa3023975cacc1d3f607d61c4 /main/ruby-thor | |
parent | d2199392c97339ede8b95aa78d0adde60cdd156a (diff) | |
download | aports-dacc6a7540e75af87291bc95fdd0943c58ee207d.tar.bz2 aports-dacc6a7540e75af87291bc95fdd0943c58ee207d.tar.xz |
main/ruby-thor: rebuild against ruby 2.2 and fix bin symlinks
Diffstat (limited to 'main/ruby-thor')
-rw-r--r-- | main/ruby-thor/APKBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/main/ruby-thor/APKBUILD b/main/ruby-thor/APKBUILD index d0aa62139e..2c0fd3a6f3 100644 --- a/main/ruby-thor/APKBUILD +++ b/main/ruby-thor/APKBUILD @@ -2,7 +2,7 @@ _gemname=thor pkgname=ruby-$_gemname pkgver=0.19.1 -pkgrel=0 +pkgrel=1 pkgdesc="A scripting framework that replaces rake, sake and rubigen" url="http://whatisthor.com/" arch="noarch" @@ -30,6 +30,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="d775969c49fec36377b918725aa33019 thor-0.19.1.gem" |