Skip to content

Instantly share code, notes, and snippets.

@Stebalien
Created May 6, 2016 04:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stebalien/be852c0e60dc9094e235d744bd12fad6 to your computer and use it in GitHub Desktop.
Save Stebalien/be852c0e60dc9094e235d744bd12fad6 to your computer and use it in GitHub Desktop.
# 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