summaryrefslogtreecommitdiff
path: root/repo/devel/asciidoc/asciidoc.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-27 18:34:26 +0100
committerdavidovski <david@davidovski.xyz>2022-05-27 18:34:26 +0100
commit4615385d6c8203001962a7a31dd02cdb1a73544b (patch)
tree0ff0ea93838f9c39ee5a09066ad05d9567e31437 /repo/devel/asciidoc/asciidoc.xibuild
parent7b0628f037dcbf85cfb381d5e05dea39a2059d33 (diff)
added tor
Diffstat (limited to 'repo/devel/asciidoc/asciidoc.xibuild')
-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
}
+