summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5c246a6a5d5580f8872c7a55219c0604667b7642 (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
# Maintainer: Amin Vakil <info AT aminvakil DOT com>

pkgname=ansible-cmdb
pkgver=1.31
pkgrel=2
pkgdesc="Generate host overview from ansible fact gathering output."
arch=('any')
url="https://github.com/fboender/ansible-cmdb"
license=('GPL3')
depends=('python' 'python-mako' 'python-pyyaml')
makedepends=('python-setuptools' 'git' 'python-build' 'python-installer' 'python-wheel')
# source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::${url}/archive/${pkgver}.tar.gz")
source=("git+https://github.com/gardar/ansible-cmdb.git#branch=fix-build")
sha256sums=('SKIP')

build() {
  cd "$srcdir/${pkgname}"
  python -m build
}

package() {
  cd "$srcdir/${pkgname}"
    python -m installer --destdir="$pkgdir" dist/*.whl
}