diff options
author | root <root@rshg054.dnsready.net> | 2012-01-20 23:14:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-20 23:14:48 +0000 |
commit | a1922d0ec660fdc1892f2783515f781c090df0a9 (patch) | |
tree | 6d38a09231ff439c051261d41bfa066870e1fccb /multilib-staging/lib32-cairo/PKGBUILD | |
parent | eefecc8813e0c062a2058b33209cb30830f824b6 (diff) |
Fri Jan 20 23:14:48 UTC 2012
Diffstat (limited to 'multilib-staging/lib32-cairo/PKGBUILD')
-rw-r--r-- | multilib-staging/lib32-cairo/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/multilib-staging/lib32-cairo/PKGBUILD b/multilib-staging/lib32-cairo/PKGBUILD new file mode 100644 index 000000000..394a26fbe --- /dev/null +++ b/multilib-staging/lib32-cairo/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 62413 2012-01-19 21:13:41Z bluewind $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +_pkgbasename=cairo +pkgname=lib32-$_pkgbasename +pkgver=1.10.2 +pkgrel=3 +pkgdesc="Cairo vector graphics library (32-bit)" +arch=('x86_64') +url="http://cairographics.org/" +license=('LGPL' 'MPL') +depends=('lib32-libpng' 'lib32-libxrender' 'lib32-fontconfig' + 'lib32-pixman' 'lib32-glib2' ${_pkgbasename}) +makedepends=('gcc-multilib') +source=(http://cairographics.org/releases/${_pkgbasename}-${pkgver}.tar.gz + cairo-1.10.0-buggy_gradients.patch) +sha1sums=('ccce5ae03f99c505db97c286a0c9a90a926d3c6e' + '8b843a9934e5112b6188e5bcf4adfc1fdaf9fa04') + +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 \ + --sysconfdir=/etc --localstatedir=/var \ + --disable-static --enable-tee + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -rf "${pkgdir}"/usr/{include,share,bin} +} |