[arch-commits] Commit in asciidoc/trunk (PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Sat Dec 9 18:54:20 UTC 2017
Date: Saturday, December 9, 2017 @ 18:54:19
Author: bluewind
Revision: 273397
upgpkg: asciidoc 8.6.10-1
upstream update
Modified:
asciidoc/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-09 17:46:08 UTC (rev 273396)
+++ PKGBUILD 2017-12-09 18:54:19 UTC (rev 273397)
@@ -8,8 +8,8 @@
# Maintainer: Florian Pritz <flo at xinu.at>
pkgname=asciidoc
-pkgver=8.6.9
-pkgrel=3
+pkgver=8.6.10
+pkgrel=1
pkgdesc='Text document format for short documents, articles, books and UNIX man pages.'
arch=('any')
url='http://www.methods.co.nz/asciidoc/'
@@ -22,17 +22,17 @@
'fop: alternative pdf generation'
'lynx: text generation'
'w3m: text generation (alternative to lynx)')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('c59018f105be8d022714b826b0be130a')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/asciidoc/asciidoc/archive/${pkgver}.tar.gz")
+md5sums=('4e69960f4d431780e9828f53417d8d7a')
prepare() {
cd ${pkgname}-${pkgver}
# python2 fix
- for file in asciidocapi.py a2x.py asciidoc.py filters/music/music2png.py filters/latex/latex2png.py \
- filters/code/code-filter.py filters/graphviz/graphviz2png.py; do
- sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
- done
+ #for file in asciidocapi.py a2x.py asciidoc.py filters/music/music2png.py filters/latex/latex2png.py \
+ #filters/code/code-filter.py filters/graphviz/graphviz2png.py; do
+ #sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
+ #done
#sed -i -e 's_sys:python_sys:python2_g' -e 's_sys3:python_sys3:python2_g' xhtml11.conf
#sed -i 's_sys:python_sys:python2_g' xhtml11-quirks.conf
#sed -i -e 's/{python}/{python2}/g' \
@@ -40,11 +40,13 @@
#filters/source/source-highlight-filter.conf \
#html5.conf xhtml11.conf xhtml11-quirks.conf
#sed -i -e "s#'python'#'python2'#g" filters/code/code-filter.py
+ sed -i -e 's#python a2x.py#python2 a2x.py#' Makefile.in
}
build() {
cd ${pkgname}-${pkgver}
+ autoconf
./configure \
--prefix=/usr \
--sysconfdir=/etc
More information about the arch-commits
mailing list