summaryrefslogtreecommitdiffstats
path: root/abs/core/pycairo/PKGBUILD
blob: 08d2db29cdcc7bd9f36e1389c731cb0aa1a21583 (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
26
# $Id: PKGBUILD 96553 2010-10-22 08:47:59Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=pycairo
pkgver=1.8.10
pkgrel=3
pkgdesc="Python bindings for the cairo graphics library"
arch=('i686' 'x86_64')
license=('LGPL' 'MPL')
depends=('python2' 'cairo>=1.8.10')
options=('!libtool')
source=(http://cairographics.org/releases/py2cairo-${pkgver}.tar.gz)
url="http://www.cairographics.org/pycairo"
md5sums=('87421a6a70304120555ba7ba238f3dc3')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  PYTHON=python2 ./configure --prefix=/usr
  make || return 1
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
}