updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python2-cairoplot / PKGBUILD
blob72f830d196cf32b0a347d3322bb432d39ee1dc28
1 # Contributor: Chuck Yang <Chuck dot Yang at gmail dot com>
3 pkgname=python2-cairoplot
4 _pkgname=cairoplot
5 pkgver=1.1
6 pkgrel=1
7 pkgdesc="Python API to plot graphics"
8 arch=(any)
9 url="http://launchpad.net/cairoplot"
10 license=('LGPL')
11 depends=('python2' 'python2-cairo')
12 replaces=('python-cairoplot')
13 source=(http://launchpad.net/$_pkgname/$pkgver/$pkgver/+download/$_pkgname-$pkgver.tar.gz
14         cairoplot.patch)
15 md5sums=('0863d4495d2764e31b033db52de7af3e'
16          '78ac81b245e47a2ee1ddf2aeca743cb1')
18 build() {
19     cd "${srcdir}/${_pkgname}-${pkgver}"
20     patch -Np1 -i ${srcdir}/cairoplot.patch || { echo -e "Failed to apply patch" ; return 1 ; }
22     install -Dm644 CairoPlot.py ${pkgdir}/usr/lib/python2.7/site-packages/CairoPlot.py || return 1