# Packager = Tuxcore <dev@tuxcore.org> 
pkgname=libice
pkgver=1.1.1
pkgrel=3
pkgdesc="X11 Inter-Client Exchange library"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
depends=('glibc' 'xorgproto')
makedepends=('xtrans' 'xorg-util-macros')
source=(${url}/releases/individual/lib/libICE-${pkgver}.tar.xz{,.sig})
license=('MIT-open-group')
sha512sums=('2f7833a25f31cc743ca95cb88f9a8403b50e19ffb5bf43bfef87ba405857d359789daaa9ec2391351237d958f16d35dbf082adb76d301e46d3a54162a6b452d3'
            'SKIP')

build() {
  cd libICE-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd libICE-${pkgver}
  make DESTDIR="${pkgdir}" install

  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
