# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=kimchi pkgver=2.5.0 pkgrel=0 pkgdesc="An HTML5 management interface for KVM" url="https://github.com/kimchi-project/kimchi" arch="noarch !s390x" license="Apache LGPL-2.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 qemu-img py2-configobj py2-six py2-paramiko py2-magic libvirt-daemon wok gingerbase py2-netaddr py2-libuser util-linux spice-html5 websockify py-numpy novnc " 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 " options="!check" subpackages="$pkgname-lang" source="$pkgname-$pkgver.tar.gz::https://github.com/kimchi-project/$pkgname/archive/$pkgver.tar.gz alpine-specific-kimchi.api.patch 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 } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="bcf20590d60cf3c82e34cb32e3a65aa7c87426eb721af7098234c5e1ff6fd1766b44d45d4ff4283e7122f370914e58b67fed1ba7b97df0cc26e614a4b66eb2d1 kimchi-2.5.0.tar.gz ac0cb9517161262109d754a469507dbb81607f52443514b227c3088ea11271ee465f017d6076519b820bc4021fd69eca3484059553072062f18334c69c5fb36a alpine-specific-kimchi.api.patch a78c51237233b629c84106cfcdc8398a030889dd8bc641630a8c4e05fdad8d32a9b457c36188e1752a1277ef884437c1765c897bc2a33ca87c07e3bafdfdd5bf systemd-substitution-with-openrc.patch"