APP=xrandr
VERSION=1.5.1
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://xorg.freedesktop.org/archive/individual/app/xrandr-1.5.1.tar.xz"
DESC="Primitive command line interface to RandR extension"
REQUIRES="libxrandr libx11 libxau"

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="
d83fe655e95043a145ec9edd87640aca47503902ebee2f24908416ec7ab44ecfa201c9574d6c2c3e490d7404d4da8e0a6c6e44fa3ee05e5e8e17db1f0bd04368  xrandr-1.5.1.tar.lz
"
