summaryrefslogtreecommitdiff
path: root/repo/devel/asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'repo/devel/asciidoc')
-rw-r--r--repo/devel/asciidoc/asciidoc.xibuild21
1 files changed, 16 insertions, 5 deletions
diff --git a/repo/devel/asciidoc/asciidoc.xibuild b/repo/devel/asciidoc/asciidoc.xibuild
index 34202d0..cd8a239 100644
--- a/repo/devel/asciidoc/asciidoc.xibuild
+++ b/repo/devel/asciidoc/asciidoc.xibuild
@@ -3,13 +3,24 @@
MAKEDEPS="python "
DEPS="python libxslt docbook-xsl"
-PKG_VER=10.1.1
+PKG_VER=10.2.0
SOURCE=https://github.com/asciidoc-py/asciidoc-py/releases/download/$PKG_VER/asciidoc-$PKG_VER.tar.gz
DESC="Text document format for short documents, articles, books and UNIX man pages"
+prepare () {
+ autoreconf -fi
+}
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
package () {
- pip install -t $PKG_DEST/usr/lib/python3.10/site-packages/ asciidoc
- mkdir -p $PKG_DEST/usr/bin
- ln -s /usr/lib/python3.10/site-packages/bin/asciidoc $PKG_DEST/usr/bin/asciidoc
- ln -s /usr/lib/python3.10/site-packages/bin/a2x $PKG_DEST/usr/bin/a2x
+ make DESTDIR="$PKG_DEST" install
}
+