aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-29 16:23:00 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-29 16:23:19 +0200
commit127a3690e15e0ad018c367657ff1d3b21e74503c (patch)
tree1e6e36b184121315bb883023ab6cf3d9c2fe9b2e
parent8b720fa8ae92c60d51291d76349f03d936ef5eee (diff)
downloadaports-127a3690e15e0ad018c367657ff1d3b21e74503c.tar.bz2
aports-127a3690e15e0ad018c367657ff1d3b21e74503c.tar.xz
testing/ruby-asciidoctor: new aport
processor for converting AsciiDoc markup into HTML 5, DocBook 4.5 and other formats http://rubygems.org/gems/asciidoctor
-rw-r--r--testing/ruby-asciidoctor/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/ruby-asciidoctor/APKBUILD b/testing/ruby-asciidoctor/APKBUILD
new file mode 100644
index 0000000000..d27717ba30
--- /dev/null
+++ b/testing/ruby-asciidoctor/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Seung Soo Mun <hamletmun@gmail.com>
+# Maintainer:
+_gemname=asciidoctor
+pkgname=ruby-$_gemname
+pkgver=0.1.4
+pkgrel=0
+pkgdesc="processor for converting AsciiDoc markup into HTML 5, DocBook 4.5 and other formats"
+url="http://rubygems.org/gems/$_gemname"
+arch="noarch"
+license="MIT"
+depends="ruby"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
+
+_builddir="$srcdir"/$_realname-$pkgver
+
+build() {
+ return 0
+}
+
+package() {
+ 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
+ rm -rf "$pkgdir"/$_gemdir/cache \
+ "$pkgdir"/$_geminstdir/ext \
+ "$pkgdir"/$_geminstdir/.require_paths
+}
+
+md5sums="1ec84e6ad442791f1ef9300026927ba1 asciidoctor-0.1.4.gem"
+sha256sums="2a2d6f9aed31200c9c74e5b81dba1673eda2f7936599df016cbe608dd8e1cf92 asciidoctor-0.1.4.gem"
+sha512sums="5a0b8fb13c6fa8f75d691eae1e59447023bb9d1202f0cecef93ae0696f374245bbec7e441f802fbe0c0101335a3ccee6dec352424dac9653170c15940ae3707d asciidoctor-0.1.4.gem"