# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xrandr
version=1.5.1
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/xrandr-$version.tar.xz"
desc="Primitive command line interface to RandR extension"
requires="libxrandr libx11 libxau"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
d83fe655e95043a145ec9edd87640aca47503902ebee2f24908416ec7ab44ecfa201c9574d6c2c3e490d7404d4da8e0a6c6e44fa3ee05e5e8e17db1f0bd04368  xrandr-1.5.1.tar.lz
"
