blob: 5e7f06e1fa20c1f6b2ce843f2a807524b459c1d7 (
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
27
28
|
# $Id: PKGBUILD 102340 2010-12-07 11:21:30Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=python2-cairo
pkgver=1.8.10
pkgrel=1
pkgdesc="Python2 bindings for the cairo graphics library"
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL' 'MPL')
depends=('python2' 'cairo')
options=('!libtool')
provides=("pycairo=${pkgver}")
conflicts=('pycairo')
replaces=('pycairo')
source=(http://cairographics.org/releases/py2cairo-${pkgver}.tar.gz)
url="http://www.cairographics.org/pycairo"
md5sums=('87421a6a70304120555ba7ba238f3dc3')
build() {
cd "${srcdir}/pycairo-${pkgver}"
PYTHON=python2 ./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/pycairo-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|