aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-coderay
diff options
context:
space:
mode:
Diffstat (limited to 'main/ruby-coderay')
-rw-r--r--main/ruby-coderay/APKBUILD10
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"