summaryrefslogtreecommitdiffstats
path: root/abs/core/pycairo/PKGBUILD
blob: 51fa90522d2f919723c7b48256879b50680b2684 (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
# $Id: PKGBUILD 23420 2009-01-10 05:29:10Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=pycairo
pkgver=1.8.0
pkgrel=2
pkgdesc="Python bindings for the cairo graphics library"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
depends=('python' 'cairo>=1.8.6')
options=('!libtool')
source=(http://cairographics.org/releases/${pkgname}-${pkgver}.tar.gz
        pycairo-1.8.0-threading.diff)
url="http://www.cairographics.org/"
md5sums=('847f5377c32228a656819f5bd18eb6b4'
         '5259928a3d58750d5c54af60d71f2493')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i "${srcdir}"/pycairo-1.8.0-threading.diff || return 1
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}