Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PKGBUILD for python-rrdtool
pkgbase=python-rrdtool
pkgname=('python-rrdtool')
pkgver=0.1.4
pkgrel=1
arch=('i686' 'x86_64')
url="https://github.com/commx/python-rrdtool"
license=('LGPL')
makedepends=('python' 'rrdtool' 'cairo' 'pango' 'libxml2' 'glib2')
source=('https://pypi.python.org/packages/source/r/rrdtool/rrdtool-0.1.4.tar.gz')
md5sums=('60244b8384513d81d472a68564326653')
build() {
cd $srcdir/rrdtool-${pkgver}
python setup.py build
}
package_python-rrdtool() {
depends=('python' 'rrdtool')
pkgdesc="RRDtool Python binding"
cd rrdtool-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment