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