app=libice
version=1.0.10
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/lib/libICE-$version.tar.bz2"
desc="X11 Inter-Client Exchange library"
requires="xorgproto xorg-macros xtrans"

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

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

  ./configure \
    --prefix="" \
    --disable-static

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
d9b22f93e0bba38b0cbbe0ad388388175653aa105417e6c5741c737bf2e0ab30d343f2740a1c5a9358b554a094ca042ab0934887e219b1e84bec240c99065997  libICE-1.0.10.tar.xz
"
