# Contributor: Seung Soo Mun # Maintainer: Natanael Copa setvar pkgname = 'asciidoctor' setvar pkgver = '1.5.6.1' setvar pkgrel = '0' setvar pkgdesc = ""A text processor for converting AsciiDoc markup into HTML 5, DocBook 4.5 and other formats"" setvar url = ""http://rubygems.org/gems/$pkgname"" setvar arch = ""noarch"" setvar license = ""MIT"" setvar options = ""!check"" setvar depends = ""ruby"" setvar source = ""http://gems.rubyforge.org/gems/$pkgname-$pkgver.gem"" proc package { local gemdir="$(ruby -rubygems -e 'puts Gem.default_dir')" gem install \ --local \ --install-dir "$pkgdir"/$gemdir \ --ignore-dependencies \ --verbose \ --no-document \ "$srcdir"/$pkgname-$pkgver.gem rm -rf "$pkgdir"/$gemdir/cache cd $pkgdir local i; for i in usr/lib/ruby/gems/*/bin/* { if test -e $i { mkdir -p "$pkgdir"/usr/bin ln -s /$i "$pkgdir"/usr/bin/ } } } setvar sha512sums = ""cb23ab539b16b064e4a21575420abdaab34e20b7650a43b47df68ded1a424d1ab265c88102d4f3d3422bd30952fd93db7de254d61fdc253d17ffd93f1345bcdf asciidoctor-1.5.6.1.gem""