summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34b35c9dd0ce4397452d5adffa61e9d2290efc42 (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
# Maintainer: Marco A Rojas <marco.rojas@zentek.com.mx>

pkgbase='powerline-kubernetes'
pkgname=('powerline-kubernetes')
_module='powerline-kubernetes'
pkgver='1.2.0'
pkgrel=1
pkgdesc="A Powerline segment to show Kubernetes context"
url="https://github.com/so0k/powerline-kubernetes"
depends=('python')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('f635f648b3e0249fe7491996c5a681ead8868b9bfa0254dde8811fe2919a9711')

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}