# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xauth
version=1.1
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/app/xauth-$version.tar.bz2"
desc="X.Org authorization settings program"
requires="libxau libxmu libx11"

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="
f40188cae26239a9f5588b7eef862472c2ad819e6dc66290c0469d75f87b4959229258da7d2de6d69fd572ccf0e8ca6ca99f658f98b9ceb3cc80e8544345bd23  xauth-1.1.tar.lz
"
