aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-05-30 13:14:14 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-30 13:08:32 +0000
commitc690333bffc5ad7dabe9d6e0aaa7d37539f2aa51 (patch)
treed1edc5485be0b68878845aa9bf2f2589e75c896c
parent673160834189d2dfc8d8bf0ccca3ab8b8f587afb (diff)
downloadaports-c690333bffc5ad7dabe9d6e0aaa7d37539f2aa51.tar.bz2
aports-c690333bffc5ad7dabe9d6e0aaa7d37539f2aa51.tar.xz
main/asciidoctor: upgrade to 1.5.4
-rw-r--r--main/asciidoctor/APKBUILD26
1 files changed, 9 insertions, 17 deletions
diff --git a/main/asciidoctor/APKBUILD b/main/asciidoctor/APKBUILD
index a9f9f465c0..cf541f09a1 100644
--- a/main/asciidoctor/APKBUILD
+++ b/main/asciidoctor/APKBUILD
@@ -2,36 +2,28 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_gemname=asciidoctor
pkgname=$_gemname
-pkgver=1.5.2
+pkgver=1.5.4
pkgrel=0
-pkgdesc="processor for converting AsciiDoc markup into HTML 5, DocBook 4.5 and other formats"
+pkgdesc="A text 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=""
+makedepends=""
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 \
+ --ignore-dependencies --verbose --no-document \
"$srcdir"/$_gemname-$pkgver.gem || return 1
- rm -rf "$pkgdir"/$_gemdir/cache \
- "$pkgdir"/$_geminstdir/ext \
- "$pkgdir"/$_geminstdir/.require_paths
+
+ rm -rf "$pkgdir"/$_gemdir/cache
cd "$pkgdir"
for i in usr/lib/ruby/gems/*/bin/*; do
@@ -42,6 +34,6 @@ package() {
done
}
-md5sums="19e93c0003301e0188dedde3924fa39d asciidoctor-1.5.2.gem"
-sha256sums="c987aa9d9ad1fd1135a51d28cc3795a217d34bacc2606e13e13638bbe54a4943 asciidoctor-1.5.2.gem"
-sha512sums="763c657add887961fb6a6806c803e5c0fbcc92a4ecbfabb14e8f9acf037c4b7c9316ed11788c9e671cc82d711faadc17d597e1bc4b1d27b9b0f1cc84442dd3cf asciidoctor-1.5.2.gem"
+md5sums="af6d1ca58e9ca0384a8f813e1a306b23 asciidoctor-1.5.4.gem"
+sha256sums="0ca7c78528165b194b678a71f5bc600aafbee3dfa5bcd40c042e382d5d883477 asciidoctor-1.5.4.gem"
+sha512sums="c5de5eb62268f985255ea21ca43c1fd7918f339912459c60259ef14992958d451c98fd707bf830ac4b3253eeac44e06cabbab70d782c39c3976a058024360495 asciidoctor-1.5.4.gem"