APP=asciidoc
VERSION=9.0.4
BUILD=1sml
HOMEPAGE="https://github.com/asciidoc/asciidoc-py3"
DOWNLOAD=''
DESC="Text document format for writing notes and documentation"
REQUIRES="python3 libxslt docbook"

build() {
  mkandenterbuilddir
  rm -rf $APP-"py3"-$VERSION

  tar xf $SRCDIR/$APP-"py3"-$VERSION.tar.?z*
  cd $APP-"py3"-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc 

  make
  make install DESTDIR=$PKG 

  cp COPYRIGHT LICENSE $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
df71bb8a35fc0099c34dcfbcfe8c182b59c5a8e86326a994fe722fea2c902fb56d221d8ae42a7b967daa4acc8cadd82ec9c85add48a8013ad04d295bf1d728c4  asciidoc-py3-9.0.4.tar.lz
"
