diff options
Diffstat (limited to 'multilib/lib32-pixman')
-rw-r--r-- | multilib/lib32-pixman/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/multilib/lib32-pixman/PKGBUILD b/multilib/lib32-pixman/PKGBUILD new file mode 100644 index 000000000..b2e57ee93 --- /dev/null +++ b/multilib/lib32-pixman/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 38980 2011-02-04 14:53:22Z ibiru $ +# Maintainer : Ionut Biru <ibiru@archlinux.org> +_pkgbasename=pixman +pkgname=lib32-$_pkgbasename +pkgver=0.20.2 +pkgrel=1 +pkgdesc="Pixman library (32-bit)" +arch=('x86_64') +url="http://xorg.freedesktop.org" +license=('custom') +depends=('lib32-glibc' $_pkgbasename) +makedepends=('gcc-multilib') +options=('!libtool') +source=(http://xorg.freedesktop.org/releases/individual/lib/${_pkgbasename}-${pkgver}.tar.bz2) +sha1sums=('9972c8f8ce484f7649d9f588168cd29f61c05c63') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/${_pkgbasename}-${pkgver}" + ./configure --prefix=/usr --libdir=/usr/lib32 --disable-static + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -rf "${pkgdir}"/usr/include + mkdir -p "$pkgdir/usr/share/licenses" + ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" +} |