Created
May 6, 2016 04:40
-
-
Save Stebalien/be852c0e60dc9094e235d744bd12fad6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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