summaryrefslogtreecommitdiff
path: root/repo/devel/asciidoc/asciidoc.xibuild
blob: cd8a23949a87ed247f3d2f0b476d0584c5de3ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

MAKEDEPS="python "
DEPS="python libxslt docbook-xsl"

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 () {
    make DESTDIR="$PKG_DEST" install
}