diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-08 22:41:42 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-11 14:07:28 +0000 |
commit | f41d13f2f4fd47f07918195a7492e72407b643c3 (patch) | |
tree | ca94a6887e3f49cae6abd35afd08557475a0bb7d /testing/ruby-yard | |
parent | a4d8fdd7f67f54067f90732496256609165cfe07 (diff) | |
download | aports-f41d13f2f4fd47f07918195a7492e72407b643c3.tar.bz2 aports-f41d13f2f4fd47f07918195a7492e72407b643c3.tar.xz |
testing/ruby-yard: upgrade to 0.8.5.2
Diffstat (limited to 'testing/ruby-yard')
-rw-r--r-- | testing/ruby-yard/APKBUILD | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/testing/ruby-yard/APKBUILD b/testing/ruby-yard/APKBUILD index 8e6a322ad1..477fa53f13 100644 --- a/testing/ruby-yard/APKBUILD +++ b/testing/ruby-yard/APKBUILD @@ -1,35 +1,40 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: _gemname=yard pkgname=ruby-yard -pkgver=0.8.3 +pkgver=0.8.5.2 pkgrel=0 pkgdesc="A documentation generation tool for Ruby" url="http://yardoc.org" arch="noarch" license="MIT" depends="ruby" -depends_dev= -makedepends="$depends_dev ruby-gems" +depends_dev="" +makedepends="ruby-dev ruby-gems" install="" subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" +source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" -_builddir="$srcdir"/$_realname-$pkgver +_builddir="$srcdir"/$_gemname-$pkgver build() { - return 0 -} - -package() { + mkdir -p "$_builddir" || return 1 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 + gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ + --ignore-dependencies \ + --verbose \ + --no-rdoc \ + --no-ri \ + || return 1 rm -rf "$pkgdir"/$_gemdir/cache \ "$pkgdir"/$_geminstdir/ext \ "$pkgdir"/$_geminstdir/.require_paths } -md5sums="1ecf6a24b7897f073e91067fc3124d6c yard-0.8.3.gem" +package() { + mkdir -p "$pkgdir" || return 1 + 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" |