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
"
