1 # $Id: PKGBUILD 35279 2010-12-18 01:24:10Z heftig $
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=lib32-$_pkgbasename
7 pkgdesc="X11 pixmap library (32-bit)"
10 url="http://xorg.freedesktop.org/"
11 depends=('lib32-libxt' 'lib32-libxext' $_pkgbasename)
12 makedepends=('xorg-util-macros' gcc-multilib)
14 source=(${url}/releases/individual/lib/libXpm-${pkgver}.tar.bz2)
15 sha1sums=('38258a1d589d3f157e0338d0fd13eec11bc4a39b')
20 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
22 cd "${srcdir}/libXpm-${pkgver}"
23 ./configure --prefix=/usr --sysconfdir=/etc --disable-static \
29 cd "${srcdir}/libXpm-${pkgver}"
31 make DESTDIR="${pkgdir}" install
33 rm -rf "${pkgdir}"/usr/{include,share,bin}
34 mkdir -p "$pkgdir/usr/share/licenses"
35 ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"