summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/cairo/PKGBUILD
blob: 2ea6c602c52c0ffd7d15f796450489354d1545ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 71210 2010-03-05 15:30:02Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Brice Carpentier <brice@daknet.org>

pkgname=cairo
pkgver=1.8.10
pkgrel=1
pkgdesc="Cairo vector graphics library"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
url="http://cairographics.org/"
depends=('libpng>=1.4.0' 'libxrender' 'fontconfig>=2.8.0' 'pixman>=0.16.6' 'xcb-util>=0.3.6')
makedepends=('pkgconfig' 'gtk-doc')
options=('!libtool')
source=(http://cairographics.org/releases/${pkgname}-${pkgver}.tar.gz)
sha1sums=('fd5e8ca82ff0e8542ea4c51612cad387f2a49df3')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i -e 's/libpng13/libpng14/g' configure || return 1
  ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --enable-xcb --disable-static || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}