Date: Monday, February 12, 2018 @ 06:11:42 Author: eschwartz Revision: 292684
archrelease: copy trunk to community-x86_64 Added: lib32-libice/repos/community-x86_64/ lib32-libice/repos/community-x86_64/PKGBUILD (from rev 292683, lib32-libice/trunk/PKGBUILD) ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: lib32-libice/repos/community-x86_64/PKGBUILD (from rev 292683, lib32-libice/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2018-02-12 06:11:42 UTC (rev 292684) @@ -0,0 +1,40 @@ +# $Id$ +# Contributor: Alexander Baldeck <alexan...@archlinux.org> +# Maintainer: Jan de Groot <j...@archlinux.org> + +_pkgbasename=libice +pkgname=lib32-$_pkgbasename +pkgver=1.0.9 +pkgrel=2 +pkgdesc="X11 Inter-Client Exchange library (32-bit)" +arch=(x86_64) +url="https://xorg.freedesktop.org/" +depends=('lib32-glibc' $_pkgbasename) +makedepends=('xtrans>=1.2.5' 'xorg-util-macros') +options=('!libtool') +source=(${url}/releases/individual/lib/libICE-${pkgver}.tar.bz2{,.sig}) +license=('custom') +sha1sums=('3c3a857a117ce48a1947a16860056e77cd494fdf' + 'SKIP') +validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersm...@oracle.com>" + +build() { + cd "${srcdir}/libICE-${pkgver}" + + export CC="gcc -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 + + make +} + +package() { + cd "${srcdir}/libICE-${pkgver}" + make DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}"/usr/{include,share} + + mkdir -p "$pkgdir/usr/share/licenses" + ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" +}