# Maintainer: PktSurf <smlinux@pktsurf.in>
app=iceauth
version=1.0.8
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/iceauth-$version.tar.gz"
desc="ICE authority file utility"
requires="libice"

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

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

build() {
  ./configure \
    --prefix= \
    --sysconfdir=/etc 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
d86d9ae5d749129a1b88adff1a7ab3f6f6884b12d97eb9e8799afc6b6cec6ecb5957de461b0c1014ab576f86d6ff7848225063cf11adc5d1dada2bb66ac05792  iceauth-1.0.8.tar.lz
"
