aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ruby-asciidoctor
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ruby-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"