aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-tilt
diff options
context:
space:
mode:
Diffstat (limited to 'main/ruby-tilt')
-rw-r--r--main/ruby-tilt/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/main/ruby-tilt/APKBUILD b/main/ruby-tilt/APKBUILD
index 768275b6cd..dac7107823 100644
--- a/main/ruby-tilt/APKBUILD
+++ b/main/ruby-tilt/APKBUILD
@@ -2,7 +2,7 @@
_gemname=tilt
pkgname=ruby-$_gemname
pkgver=1.4.1
-pkgrel=1
+pkgrel=2
pkgdesc="Generic interface to multiple Ruby template engines"
url="http://github.com/rtomayko/tilt/"
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="63f659f48d31c50d2565fb8b10554d8f tilt-1.4.1.gem"