# Contributor: Stuart Cardall <developer@it-offshore.co.uk> # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> setvar pkgname = 'virtualbricks' setvar pkgver = '1.0.1' setvar pkgrel = '2' setvar pkgdesc = ""A GTK frontend for VDE and QEMU/KVM"" setvar url = ""https://launchpad.net/virtualbrick"" setvar arch = ""noarch"" setvar license = ""GPL v2"" setvar depends = ""python2 py-zope-interface py-twisted py-gtk py-imaging py-graphviz"" setvar depends_dev = """" setvar makedepends = ""python2-dev gettext"" setvar subpackages = ""$pkgname-lang"" setvar source = ""https://launchpad.net/virtualbrick/1.x/$pkgver/+download/$pkgname-$pkgver.tar.gz"" setvar _builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir python2 setup.py build || return 1 } proc package { cd $_builddir python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } setvar md5sums = ""17ae7cddd0572f3f547ff348eadcf690 virtualbricks-1.0.1.tar.gz"" setvar sha256sums = ""afed1e4b7932297e5aece861d24516a62a98e08212f510e13c4a0a4132fdd0bc virtualbricks-1.0.1.tar.gz"" setvar sha512sums = ""90a4cd46058c3139a7bc1d8e15f19a20f020371acb55587df5f315e6f691b3358ea73b37b317a9c772c7cbc4cb968ae5a27ebfb59472085bcb5ad27c4db3c464 virtualbricks-1.0.1.tar.gz""