contrib/asciidoc/Pkgfile

23 lines
515 B
Plaintext
Raw Normal View History

2010-12-15 15:51:01 +01:00
# Description: Text based document generation.
2020-06-14 10:53:04 +02:00
# URL: https://www.methods.co.nz/asciidoc/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: docbook-xsl python3
2010-12-15 15:51:01 +01:00
name=asciidoc
2020-11-11 09:00:23 +01:00
version=9.0.4
2010-12-15 15:51:01 +01:00
release=1
source=(https://github.com/asciidoc/$name-py3/archive/$version/$name-py3-$version.tar.gz)
2010-12-15 15:51:01 +01:00
build() {
cd $name-py3-$version
PYTHON='/usr/bin/python3'
2018-01-31 12:09:41 +01:00
autoconf
2010-12-15 15:51:01 +01:00
./configure \
--prefix=/usr \
--sysconfdir=/usr/etc
make
make DESTDIR=$PKG install
rm $PKG/usr/etc/asciidoc/images/icons/README
}