From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- multilib/lib32-libxdamage/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 multilib/lib32-libxdamage/PKGBUILD (limited to 'multilib/lib32-libxdamage') diff --git a/multilib/lib32-libxdamage/PKGBUILD b/multilib/lib32-libxdamage/PKGBUILD new file mode 100644 index 000000000..17e003925 --- /dev/null +++ b/multilib/lib32-libxdamage/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 26644 2010-09-15 22:46:36Z bluewind $ +# Maintainer: Jan de Groot + +_pkgbasename=libxdamage +pkgname=lib32-$_pkgbasename +pkgver=1.1.3 +pkgrel=3 +pkgdesc="X11 damaged region extension library (32-bit)" +arch=(x86_64) +url="http://xorg.freedesktop.org/" +license=('custom') +depends=('lib32-libxfixes>=4.0.4' $_pkgbasename) +makedepends=('pkg-config' 'damageproto>=1.2.0' gcc-multilib) +options=('!libtool') +source=(${url}/releases/individual/lib/libXdamage-${pkgver}.tar.bz2) +sha1sums=('7d96e8de107fede16951cb47d5e147630fbc7dee') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/libXdamage-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc --disable-static --libdir=/usr/lib32 + make +} + +package() { + cd "${srcdir}/libXdamage-${pkgver}" + + make DESTDIR="${pkgdir}" install || return 1 + rm -rf "${pkgdir}"/usr/{include,share,bin} + mkdir -p "$pkgdir/usr/share/licenses" + ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" +} -- cgit v1.2.3-54-g00ecf