# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xorg-cf-files
version=1.0.6
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/util/xorg-cf-files-$version.tar.bz2"
desc="Default configuration files for Xorg"
requires="xtrans mesa xorg-server xkeyboard-config libepoxy xcb-util xcb-util-image xcb-util-keysyms xcb-util-wm xcb-util-renderutil pixman libpciaccess"

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="
389ed08dd09b6edd26c08b52989f30898e6151f1dbe34a2893a533f62c770284b6835037651d3349cc00617e026e16039c25411b54e7656c926b3354f0ad9cc0  xorg-cf-files-1.0.6.tar.lz
"
