summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ebaf280c41e87d1a76de2751c88b7a734b19d26c (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
# Maintainer: cr0mag <phillips.julian AT gmail DOT com>
# Contributor: rafaelsoaresbr <rafaelsoaresbr@gmail.com>
# ginger-base
# Contributing: https://github.com/rafaelsoaresbr/pkgbuild
# Builds: https://gitlab.com/rafaelsoaresbr/pkgbuild/builds
#pkgbase=()
pkgname=('ginger-base')

# Version
pkgver=2.3.0
pkgrel=2
#epoch=

# Generic
pkgdesc="Basic host management plugin for WoK"
arch=('any')
url="https://github.com/kimchi-project/gingerbase"
license=('LGPL' 'Apache')
groups=('kimchi-project')

# Dependencies
depends=('python2-configobj'
         'python2-pyparted'
         'wokd')
optdepends=('sos: sosreport support')
makedepends=('git')
#checkdepends=()

# Package Relations
#provides=()
conflicts=('ginger-base-git')
#replaces=()

# Others
backup=('etc/wok/plugins.d/gingerbase.conf')
#options=()
#install=
#changelog=

# Sources
source=('https://github.com/kimchi-project/gingerbase/archive/'${pkgver}'.tar.gz')
#source_i686=("")
#source_x86_64=("")
#noextract=()
#validpgpkeys=()

# Integrity
#md5sums=()
#md5sums_i686=()
#md5sums_x86_64=()
#sha1sums=()
sha256sums=('c120e3e809300c156c478810f1201d4c680c1c3b651bae15555f6ed23506e544')

#pkgver() {
#}

prepare() {
  cd $srcdir/gingerbase-${pkgver}
}

build() {
  cd $srcdir/gingerbase-${pkgver}
  PYTHON=/usr/bin/python2 ./autogen.sh --system && make
}

#check() {
#}

package() {
  cd $srcdir/gingerbase-${pkgver}
  make DESTDIR=$pkgdir install
}