From d69268f8f19673f4431851c67914b2708b59be8d Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 25 Mar 2015 20:44:00 +0000 Subject: main/ruby-tilt: rebuild against ruby 2.2 and fix bin symlinks --- main/ruby-tilt/APKBUILD | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'main/ruby-tilt') 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" -- cgit v1.2.3