APP=xmlto
VERSION=0.0.28
BUILD=1sml
HOMEPAGE="https://pagure.io/xmlto"
DOWNLOAD="https://releases.pagure.org/xmlto/xmlto-0.0.28.tar.bz2"
DESC="XML conversion tool"
REQUIRES="libxslt"

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
428af553df979773a83136b31766a1a66bcf8524797b5e0a5973d2a28b5296b215765167e7aaa3ecfbed031ed17c72bedcd660c4f854e7673921d50bc1da4584  xmlto-0.0.28.tar.lz
"
