summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorWael M. Nasreddine2017-10-11 10:25:38 -0700
committerWael M. Nasreddine2017-10-11 10:25:38 -0700
commitdc312bc1db3c3f85cd35deed270b90a57e8f8bca (patch)
tree977627dfb569894949b386bded97ceb090fa5b49 /PKGBUILD
downloadaur-dc312bc1db3c3f85cd35deed270b90a57e8f8bca.tar.gz
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5a3e7b89953
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}