# Lib32 Packages for Chakra, part of chakra-project.org # # maintainer (x86_64): Anke Boersma # maintainer (x86_64): Giuseppe CalĂ  _pkgbasename=libxt pkgname=lib32-$_pkgbasename pkgver=1.1.5 pkgrel=1 pkgdesc="X11 toolkit intrinsics library (32-bit)" arch=(x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=('lib32-libsm' 'lib32-libx11' $_pkgbasename=$pkgver) makedepends=('xorg-util-macros' 'lib32-gcc-libs') options=('!libtool') source=(${url}/releases/individual/lib/libXt-${pkgver}.tar.bz2) sha1sums=('c79e2c4f7de5259a2ade458817a139b66a043d59') build() { cd "${srcdir}/libXt-${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}/libXt-${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" }