diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-25 14:25:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-26 14:21:41 +0000 |
commit | 836525a001a69c4fc0bdb55a77ef62c1ecac01d4 (patch) | |
tree | b6debefdad731aea1d16d1083ab2077753da299e /main/ruby-erubis | |
parent | fcf72db1c7dcd28e95bb082f9d0649d0aee376a7 (diff) | |
download | aports-836525a001a69c4fc0bdb55a77ef62c1ecac01d4.tar.bz2 aports-836525a001a69c4fc0bdb55a77ef62c1ecac01d4.tar.xz |
main/ruby-erubis: rebuild against ruby 2.2 and fix bin symlinks
Diffstat (limited to 'main/ruby-erubis')
-rw-r--r-- | main/ruby-erubis/APKBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/main/ruby-erubis/APKBUILD b/main/ruby-erubis/APKBUILD index 970434b888..7135f67db5 100644 --- a/main/ruby-erubis/APKBUILD +++ b/main/ruby-erubis/APKBUILD @@ -2,7 +2,7 @@ _gemname=erubis pkgname=ruby-$_gemname pkgver=2.7.0 -pkgrel=2 +pkgrel=3 pkgdesc="an implementation of eRuby" url="http://www.kuwata-lab.com/erubis/" 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="cca3cf13ef951d1fc8c124d2fde52565 erubis-2.7.0.gem" |