blob: f927e798e6bcdad0628ce7d03ba4962284f256e3 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
# Maintainer=rafaelsoaresbr <rafaelsoaresbr@gmail.com>
# kimchi-git
# Contributing: https://github.com/rafaelsoaresbr/pkgbuild
# Builds: https://gitlab.com/rafaelsoaresbr/pkgbuild/builds
#pkgbase=()
pkgname=('kimchi-git')
# Version
pkgver=2.2.0.r0.g7b5be35
pkgrel=1
#epoch=
# Generic
pkgdesc="An HTML5 management interface for KVM"
arch=('any')
url="http://kimchi-project.github.io/kimchi/"
license=('AGPL2.1' 'Apache')
groups=('kimchi-project')
# Dependencies
depends=('bridge-utils'
'dnsmasq'
'ebtables'
'ginger-base'
'libguestfs'
'libvirt-python'
'nfs-utils'
'novnc'
'open-iscsi'
'python2-configobj'
'python2-ethtool'
'python2-ipaddr'
'python2-lxml'
'python2-magic'
'python2-ordereddict'
'python2-paramiko'
'python2-pillow'
'python2-pyparted'
'qemu'
'spice-html5'
'ttf-font-awesome'
'ttf-opensans'
'websockify'
'wokd')
#optdepends=()
makedepends=('git')
#checkdepends=()
# Package Relations
provides=('kimchi')
conflicts=('kimchi')
#replaces=()
# Others
backup=('etc/wok/plugins.d/kimchi.conf')
#options=()
#install=
#changelog=
# Sources
source=('git+https://github.com/kimchi-project/kimchi.git')
#source_i686=("")
#source_x86_64=("")
#noextract=()
#validpgpkeys=()
# Integrity
#md5sums=()
#md5sums_i686=()
#md5sums_x86_64=()
#sha1sums=()
sha256sums=('SKIP')
pkgver() {
cd $srcdir/kimchi
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd $srcdir/kimchi
}
build() {
cd $srcdir/kimchi
PYTHON=/usr/bin/python2 ./autogen.sh --system && make
}
#check() {
#}
package() {
cd $srcdir/kimchi
make DESTDIR=$pkgdir install
cd $pkgdir/etc/systemd/system/wokd.service.d
sed s:wokd.service::g kimchi.conf > kimchi.conf.new
mv kimchi.conf.new kimchi.conf
}
|