summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b7a1da07737711ac7ec1854e0c2cd675b9a896f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=zabbix-cli-git
pkgver=1.7
pkgrel=1
pkgdesc="Command-line interface for the Zabbix monitoring system"
arch=(any)
url="https://github.com/usit-gd/zabbix-cli"
license=(GPL3)
depends=('python2-argparse' 'python2-requests' 'python2-ipaddr')
makedepends=('python2-setuptools')
optdepends=()
source=(git+https://github.com/usit-gd/zabbix-cli.git)
sha256sums=('SKIP')

build() {
    cd "$srcdir/${pkgname%-git}"
    python2 setup.py build
}

package() {
    cd "$srcdir/${pkgname%-git}"
    python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}