diff options
-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" |