summaryrefslogtreecommitdiff
path: root/community/virtualbricks/APKBUILD
blob: 19b35b02c26e0f41f4b914ec375906d2b63f3f57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=virtualbricks
pkgver=1.0.1
pkgrel=3
pkgdesc="A GTK frontend for VDE and QEMU/KVM"
url="https://launchpad.net/virtualbrick"
arch="noarch"
license="GPL-2.0"
depends="python2 py-zope-interface py-twisted py-gtk py-imaging py-pygraphviz"
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"