APP=xtrans
VERSION=1.4.0
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://xorg.freedesktop.org/releases/individual/lib/xtrans-1.4.0.tar.bz2"
DESC="X transport library"
REQUIRES="libxml2 libxslt xmlto"

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="
b3053dfc252f98aadf37ec3bd3532c2ccaad8d1e46bbb25f4ab6fc872bb01a303055ee5daa9537f6f7934464c22fc3493decad38f38920c8397e1469df3ddaa2  xtrans-1.4.0.tar.lz
"
