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"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
21c55735fa53db6fed757e761007ad9f2c2b92fe2be44810b078402f32b423035a056e87d18e6d39fd6032bfc645ab4e9a116c9d2c36bacdb3b893823ab3e2d5  iceauth-1.0.8.tar.xz
"
