[arch-commits] Commit in (xdot xdot/repos xdot/trunk xdot/trunk/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Oct 15 18:14:52 UTC 2015


    Date: Thursday, October 15, 2015 @ 20:14:51
  Author: anthraxx
Revision: 144189

addpkg: xdot 0.6-4

Added:
  xdot/
  xdot/repos/
  xdot/trunk/
  xdot/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Added: xdot/trunk/PKGBUILD
===================================================================
--- xdot/trunk/PKGBUILD	                        (rev 0)
+++ xdot/trunk/PKGBUILD	2015-10-15 18:14:51 UTC (rev 144189)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Randy Heydon <randy.heydon at clockworklab dot net>
+
+pkgname=xdot
+_pkgname=${pkgname}.py
+pkgver=0.6
+pkgrel=4
+pkgdesc="Interactive viewer for graphs written in Graphviz's dot language"
+url="https://github.com/jrfonseca/xdot.py"
+arch=('any')
+license=('LGPL2.1')
+depends=('graphviz' 'pygtk')
+makedepends=('python2-setuptools')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jrfonseca/${_pkgname}/archive/${pkgver}.tar.gz)
+sha512sums=('25dcb35aacdd58fb13519346d1d8cf500eeeeb3cc40dee85e967d23c52c0c37ba092a023aec6cd72a35b74e3ea6a2168e1691ad218e4a6af17ea6d56d824f05b')
+
+prepare() {
+  cd ${_pkgname}-${pkgver}
+  sed -e 's/env python$/env python2/g' -i xdot.py
+}
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  python2 setup.py build
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  python2 setup.py test
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list