app=itstool
version=2.0.6
build=1sml
homepage="http://itstool.org/"
download="http://files.itstool.org/itstool/itstool-$version.tar.bz2"
desc="Translate XML documents with PO files"
requires="python3 docbook"

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* NEWS $pkgdocs/

  mkfinalpkg
}

sha512sums="
99f612db4bc009ac017abee6afff6121f73f759746cfbcab17a788348c294f7d6d94b0b8812fc34d716b6775fdd60039ab2a754bd1e285a9fcd73b4398157b63  itstool-2.0.6.tar.lz
"
