summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5a3e7b89953bd68f86807c66729a77022d1f8aef (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
# Maintainer: Wael Nasreddine <wael.nasreddine@gmail.com>
pkgname=kovhernetes-git
_pkgname=kOVHernetes
pkgver=0.0.1.dev0
pkgrel=1
pkgdesc="kOVHernetes (kovh) is a command-line utility for managing Kubernetes clusters on the OVH Cloud platform."
arch=('any')
url="https://github.com/antoineco/kOVHernetes"
license=('Apache')
depends=('python-ovh' 'python-cryptography' 'python-docopt' 'python-pyopenssl')
makedepends=('git')
provides=("${pkgname%-VCS}")
conflicts=("${pkgname%-VCS}")
source=('git+https://github.com/antoineco/kOVHernetes.git')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${_pkgname}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/${_pkgname}"
	python setup.py install --root="$pkgdir/" --optimize=1
}