diff options
Diffstat (limited to 'testing/ruby-yard/APKBUILD')
-rw-r--r-- | testing/ruby-yard/APKBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/testing/ruby-yard/APKBUILD b/testing/ruby-yard/APKBUILD index f98987b49a..4dae4b812f 100644 --- a/testing/ruby-yard/APKBUILD +++ b/testing/ruby-yard/APKBUILD @@ -1,9 +1,9 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> _gemname=yard pkgname=ruby-yard -pkgver=0.8.5.2 -pkgrel=1 +pkgver=0.8.7.6 +pkgrel=0 pkgdesc="A documentation generation tool for Ruby" url="http://yardoc.org" arch="noarch" @@ -28,6 +28,14 @@ build() { 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 } package() { @@ -35,6 +43,6 @@ package() { cp -ra "$_builddir"/* "$pkgdir"/ || return 1 } -md5sums="3dd47e06fb17c7b7de88eb02bfbfb57b yard-0.8.5.2.gem" -sha256sums="6c69c6e488df57d268a8ad406420a28217286a531e15788ae08bbd5266d42a5f yard-0.8.5.2.gem" -sha512sums="a166971827b6692035dabb0e8f69b442e664403af79fc56f48184088f0ca5f1b198d0d81d4eb25042151968ef5f493b8146ab4e933700a8649c69cff99cbb649 yard-0.8.5.2.gem" +md5sums="55559a424c6bc58cba9a8affdbc86dc9 yard-0.8.7.6.gem" +sha256sums="3da10884b94fa25b7476f619b1d2cfb61290e10673965c545975630cd88a46b6 yard-0.8.7.6.gem" +sha512sums="678d0831bfcb08de413b8c776e6916d4314fd6f487e3b8bb2683f328eacc99d4251e6ca204ff6044cb542dee909e321cc552257b044eb8035102a28d83512080 yard-0.8.7.6.gem" |