PKGBUILDs/community/python-pychart/PKGBUILD
2009-10-09 21:15:33 -05:00

21 lines
780 B
Bash
Executable file

# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=python-pychart
pkgver=1.39
pkgrel=4
url="http://home.gna.org/pychart/"
arch=('i686' 'x86_64')
pkgdesc="Python library for creating Encapsulated Postscript, PDF, PNG, or SVG charts."
depends=('python>=2.4')
license=('GPL')
source=(http://download.gna.org/pychart/PyChart-$pkgver.tar.gz \
http://download.gna.org/pychart/pychart-doc.tar.gz)
md5sums=('f1f509a1c4623056c8e780bb7c9a05c5' '9309ac83d60c85e71dded649c6bca5f8')
build() {
cd $srcdir/PyChart-$pkgver || return 1
python setup.py install --root=$pkgdir || return 1
install -d $pkgdir/usr/share/doc/$pkgname || return 1
cp $srcdir/pychart/* $pkgdir/usr/share/doc/$pkgname || return 1
}