summaryrefslogtreecommitdiff
path: root/extra/cairo
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cairo')
-rw-r--r--extra/cairo/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/cairo/PKGBUILD b/extra/cairo/PKGBUILD
index 356a9d270..652d2da9d 100644
--- a/extra/cairo/PKGBUILD
+++ b/extra/cairo/PKGBUILD
@@ -1,24 +1,23 @@
-# $Id: PKGBUILD 114393 2011-03-13 08:22:31Z andyrtr $
+# $Id: PKGBUILD 148684 2012-02-05 11:46:48Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Brice Carpentier <brice@daknet.org>
pkgname=cairo
pkgver=1.10.2
-pkgrel=2
+pkgrel=3
pkgdesc="Cairo vector graphics library"
arch=(i686 x86_64 'mips64el')
license=('LGPL' 'MPL')
url="http://cairographics.org/"
-depends=('libpng>=1.4.0' 'libxrender' 'fontconfig>=2.8.0' 'pixman>=0.18.4' 'glib2>=2.24.0' 'sh')
-makedepends=('pkgconfig')
+depends=('libpng' 'libxrender' 'fontconfig' 'pixman' 'glib2' 'sh')
options=('!libtool')
-source=(http://cairographics.org/releases/${pkgname}-${pkgver}.tar.gz
+source=(http://cairographics.org/releases/$pkgname-$pkgver.tar.gz
cairo-1.10.0-buggy_gradients.patch)
sha1sums=('ccce5ae03f99c505db97c286a0c9a90a926d3c6e'
'8b843a9934e5112b6188e5bcf4adfc1fdaf9fa04')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i "${srcdir}/cairo-1.10.0-buggy_gradients.patch"
./configure --prefix=/usr \
--sysconfdir=/etc \
@@ -26,10 +25,14 @@ build() {
--disable-static \
--enable-tee
make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
make check || /bin/true # 248 Passed, 65 Failed [2 crashed, 8 expected], 28 Skipped
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}