APP=xwd
VERSION=1.0.7
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://xorg.freedesktop.org/archive/individual/app/xwd-1.0.7.tar.bz2"
DESC="X Window System image dumping utility"
REQUIRES="libxkbfile libxt "

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

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

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
84181f9f40be754ddeac3919a5357553d3c9473004371327118d4dff636a0cfd4c23f54ce8fcbb5c87f801b3837194dc8800fba10907380800eb0e328b2e795e  xwd-1.0.7.tar.lz
"
