Skip to content

Instantly share code, notes, and snippets.

@Stebalien

Stebalien/PKGBUILD

Created May 6, 2016
Embed
What would you like to do?
# Maintainer: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
_pkgname='xdot.py'
pkgname=xdot-git
pkgver=0.7.r9.ga4dba0d
pkgrel=1
pkgdesc="Interactive viewer for Graphviz dot files (git version)"
arch=('any')
url="https://github.com/jrfonseca/xdot.py"
license=('LGPL2.1')
makedepends=('git')
depends=('graphviz' 'python' 'gtk3' 'python-gobject' 'python-setuptools')
provides=('xdot')
conflicts=('xdot')
source=('git+https://github.com/jrfonseca/xdot.py.git')
md5sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --tags | sed -e 's|-|.r|' | sed -e 's|-|.|'
}
build() {
cd ${_pkgname}
python setup.py build
}
check() {
cd ${_pkgname}
python setup.py test
}
package() {
cd ${_pkgname}
python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
}
# vim: ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.