diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-25 20:44:00 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-26 14:21:43 +0000 |
commit | d69268f8f19673f4431851c67914b2708b59be8d (patch) | |
tree | 7e4b780f5e8a84c3950b61aeb17e3ae9b986d168 /main/ruby-tilt | |
parent | a7578070fa29013f05237f26201c6bee48e82439 (diff) | |
download | aports-d69268f8f19673f4431851c67914b2708b59be8d.tar.bz2 aports-d69268f8f19673f4431851c67914b2708b59be8d.tar.xz |
main/ruby-tilt: rebuild against ruby 2.2 and fix bin symlinks
Diffstat (limited to 'main/ruby-tilt')
-rw-r--r-- | main/ruby-tilt/APKBUILD | 10 |
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" |