2020-06-21 22:23:56 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://asciidoc.org
|
2019-08-16 00:33:08 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Text document format for short documents, articles, books and UNIX man pages."
|
2019-08-13 21:38:11 +02:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
|
|
TERMUX_PKG_VERSION=8.6.10
|
2020-06-21 22:24:13 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2019-08-13 21:38:11 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/asciidoc/asciidoc/archive/${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=9e52f8578d891beaef25730a92a6e723596ddbd07bfe0d2a56486fcf63a0b983
|
2019-08-16 01:37:45 +02:00
|
|
|
TERMUX_PKG_DEPENDS="docbook-xsl, python2, xsltproc"
|
2019-08-16 00:33:08 +02:00
|
|
|
TERMUX_PKG_SUGGESTS="lynx, w3m"
|
2019-08-13 21:38:11 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
sed -i -e 's#python a2x.py#python2 a2x.py#' Makefile.in
|
|
|
|
autoreconf -vfi
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
|
|
|
make docs
|
|
|
|
install -Dm644 asciidocapi.py \
|
2019-08-16 00:33:08 +02:00
|
|
|
$TERMUX_PREFIX/lib/python2.7/site-packages/asciidocapi.py
|
2019-08-13 21:38:11 +02:00
|
|
|
}
|