# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=dot2tex
pkgver=2.9.0
pkgrel=1
pkgdesc="Graphviz to LaTeX converter"
arch=('any')
url="http://code.google.com/p/dot2tex/"
license=('MIT')
depends=('python2-pyparsing' 'graphviz')
source=(https://github.com/kjellmf/dot2tex/archive/$pkgver.tar.gz)
md5sums=('e27e61e4ad86854164d1f6e286047991')

package() {
	cd ${srcdir}/${pkgname}-${pkgver}

	python2 setup.py install --root=${pkgdir}

	# Install custom license file
	install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
