APP=itstool
VERSION=2.0.6
BUILD=1sml
HOMEPAGE='http://itstool.org/'
DOWNLOAD='http://files.itstool.org/itstool/itstool-2.0.6.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
"
