# Lib32 Packages for Chakra, part of chakra-project.org # # maintainer (x86_64): Giuseppe CalĂ  # maintainer (x86_64): Anke Boersma _pkgbasename=libxdmcp pkgname=lib32-$_pkgbasename pkgver=1.1.2 pkgrel=1 pkgdesc="X11 Display Manager Control Protocol library (32-bit)" arch=(x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=('lib32-glibc' $_pkgbasename=$pkgver) makedepends=('xorg-util-macros' 'gcc-multilib') options=('!libtool') source=(${url}/releases/individual/lib/libXdmcp-${pkgver}.tar.bz2{,.sig}) sha1sums=('3c09eabb0617c275b5ab09fae021d279a4832cac' 'SKIP') validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith build() { cd ${srcdir}/libXdmcp-${pkgver} export CC="gcc -m32" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" ./configure --prefix=/usr --sysconfdir=/etc --disable-static \ --libdir=/usr/lib32 make } package() { cd ${srcdir}/libXdmcp-${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" }