1 # Contributor: Alexander Baldeck <alexander@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
5 pkgname=lib32-$_pkgbasename
8 pkgdesc="X11 Inter-Client Exchange library (32-bit)"
10 url="https://xorg.freedesktop.org/"
11 depends=('lib32-glibc' $_pkgbasename)
12 makedepends=('xtrans>=1.2.5' 'xorg-util-macros' 'xorgproto')
13 source=(${url}/releases/individual/lib/libICE-${pkgver}.tar.xz{,.sig})
15 sha1sums=('7e4b51bb5633d7fc7d1f4e161d231591ab545f0b'
17 sha256sums=('03e77afaf72942c7ac02ccebb19034e6e20f456dcf8dddadfeb572aa5ad3e451'
19 validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>
22 cd "${srcdir}/libICE-${pkgver}"
25 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
27 ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32
33 cd "${srcdir}/libICE-${pkgver}"
34 make DESTDIR="${pkgdir}" install
36 rm -rf "${pkgdir}"/usr/{include,share}
38 mkdir -p "$pkgdir/usr/share/licenses"
39 ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"