diff options
Diffstat (limited to 'main/ruby-mocha')
-rw-r--r-- | main/ruby-mocha/APKBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/main/ruby-mocha/APKBUILD b/main/ruby-mocha/APKBUILD index 178b02c0ed..7007707300 100644 --- a/main/ruby-mocha/APKBUILD +++ b/main/ruby-mocha/APKBUILD @@ -2,7 +2,7 @@ _gemname=mocha pkgname=ruby-$_gemname pkgver=1.1.0 -pkgrel=0 +pkgrel=1 pkgdesc="Mocking and stubbing library with JMock/SchMock syntax" url="http://gofreerange.com/mocha/docs" 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="191449b906fcffca8526f1203028b8e2 mocha-1.1.0.gem" |