aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-26 14:07:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-26 14:21:46 +0000
commit798c2f1435ac69c45f597dec38232e5457ab1d7f (patch)
tree23846a3e848353bc66d6a74259625df01418a012 /testing
parent896bee82c4aa5d7b2c02f01d1dd3b8f584fff5b4 (diff)
downloadaports-798c2f1435ac69c45f597dec38232e5457ab1d7f.tar.bz2
aports-798c2f1435ac69c45f597dec38232e5457ab1d7f.tar.xz
testing/ruby-asciidoctor: upgrade to 1.5.2
Diffstat (limited to 'testing')
-rw-r--r--testing/ruby-asciidoctor/APKBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/testing/ruby-asciidoctor/APKBUILD b/testing/ruby-asciidoctor/APKBUILD
index d27717ba30..aa5e92f961 100644
--- a/testing/ruby-asciidoctor/APKBUILD
+++ b/testing/ruby-asciidoctor/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Seung Soo Mun <hamletmun@gmail.com>
-# Maintainer:
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_gemname=asciidoctor
pkgname=ruby-$_gemname
-pkgver=0.1.4
+pkgver=1.5.2
pkgrel=0
pkgdesc="processor for converting AsciiDoc markup into HTML 5, DocBook 4.5 and other formats"
url="http://rubygems.org/gems/$_gemname"
@@ -32,8 +32,16 @@ package() {
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
}
-md5sums="1ec84e6ad442791f1ef9300026927ba1 asciidoctor-0.1.4.gem"
-sha256sums="2a2d6f9aed31200c9c74e5b81dba1673eda2f7936599df016cbe608dd8e1cf92 asciidoctor-0.1.4.gem"
-sha512sums="5a0b8fb13c6fa8f75d691eae1e59447023bb9d1202f0cecef93ae0696f374245bbec7e441f802fbe0c0101335a3ccee6dec352424dac9653170c15940ae3707d asciidoctor-0.1.4.gem"
+md5sums="19e93c0003301e0188dedde3924fa39d asciidoctor-1.5.2.gem"
+sha256sums="c987aa9d9ad1fd1135a51d28cc3795a217d34bacc2606e13e13638bbe54a4943 asciidoctor-1.5.2.gem"
+sha512sums="763c657add887961fb6a6806c803e5c0fbcc92a4ecbfabb14e8f9acf037c4b7c9316ed11788c9e671cc82d711faadc17d597e1bc4b1d27b9b0f1cc84442dd3cf asciidoctor-1.5.2.gem"