summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b50290c3f1e782224dab0e347d0527284c8cb6f1 (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
# Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: Wael Nasreddine <wael.nasreddine@gmail.com>

pkgname=kovhernetes-git
_pkgname=kOVHernetes
pkgver=r32.bb8a7fe
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')
sha256sums=('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
}