# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=kimchi pkgver=2.3.1 pkgrel=2 pkgdesc="An HTML5 management interface for KVM " url="https://github.com/kimchi-project/kimchi" arch="noarch" license="APACHE LGPL2.1" depends="python2 py-ipaddr py2-m2crypto py2-simplejson py-psutil py-imaging py2-libvirt py-cheetah py-ethtool py2-lxml py-websockify py2-pillow qemu py2-configobj py2-six py2-paramiko py2-magic libvirt-daemon wok gingerbase py2-netaddr py2-libuser util-linux spice-html5 websockify py-numpy" makedepends="automake autoconf libtool gettext-dev python2-dev py-setuptools pyflakes libxslt py2-pip py-pep8 py2-mock py-cherrypy pytest py2-requests grep bash bc spice-html5" subpackages="$pkgname-lang" source="$pkgname-$pkgver.tar.gz::https://github.com/kimchi-project/$pkgname/archive/$pkgver.tar.gz systemd-substitution-with-openrc.patch" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" sh ./autogen.sh --system ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --with-spice-html5 make -j1 || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install } md5sums="3312e6158c5bde8be3e499b6b4488751 kimchi-2.3.1.tar.gz c46ad325d11ed135a3bea6ddcb688faa systemd-substitution-with-openrc.patch" sha256sums="81da6381480d2a69eb6cf073b1e0f7c9288d13c2f34f90dabf3568ce089d15d0 kimchi-2.3.1.tar.gz afaa9128c4d2f21e717ef1c059eb7a14cd5802ac55c4d7fa696ecb2260043755 systemd-substitution-with-openrc.patch" sha512sums="2db03e66277df6d7d66dae25e6663e32eba791dca563d7bef02d394f8352cca2dbd1a904c76f0ae0b3a1ca2593c7fcb99be3877f658a22b54cd79e2b332d8b74 kimchi-2.3.1.tar.gz b4ec58de87d26e8f342c5f78818a96a3c7cbb8de979a7e9fa9b3ececbc98775d435e065dc41023968efa919f3ed1636c4409420d1f55f4ddb94dd4b9a573399f systemd-substitution-with-openrc.patch"