diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-25 14:23:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-26 14:21:41 +0000 |
commit | fcf72db1c7dcd28e95bb082f9d0649d0aee376a7 (patch) | |
tree | 1e8ed757699b77c6946b4556679790382d85153b /main/ruby-coderay | |
parent | b54096e84db4fd863332e82af1fbb0f508a95384 (diff) | |
download | aports-fcf72db1c7dcd28e95bb082f9d0649d0aee376a7.tar.bz2 aports-fcf72db1c7dcd28e95bb082f9d0649d0aee376a7.tar.xz |
main/ruby-coderay: rebuild against ruby 2.2 and fix bin symlinks
Diffstat (limited to 'main/ruby-coderay')
-rw-r--r-- | main/ruby-coderay/APKBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/main/ruby-coderay/APKBUILD b/main/ruby-coderay/APKBUILD index e65e952969..f31b93acdd 100644 --- a/main/ruby-coderay/APKBUILD +++ b/main/ruby-coderay/APKBUILD @@ -3,7 +3,7 @@ _gemname=coderay pkgname=ruby-coderay pkgver=1.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Fast and easy syntax highlighting" url="http://coderay.rubychan.de" arch="noarch" @@ -31,6 +31,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="2fa78bc78816c3ae7d0475f6dbc76611 coderay-1.1.0.gem" |