# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxau
version=1.0.9
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXau-$version.tar.gz"
desc="X11 authorisation library"
requires="pkgconf xorgproto"

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

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

build() {
  ./configure \
    --prefix= \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
0195c23d6d0904fc6861bcbbff830dc5721fd0eb2e41d46d808b6334a5a8dd7fd975206875ffca7daed637deced6bce5be1608e37a6335d523775f7bdd0e43c2  libXau-1.0.9.tar.lz
"
