summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b136e889a5b3700ce05e1be1af744f6a7dcec78e (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
# Maintainer: Amin Vakil <info AT aminvakil DOT com>
# Contributor: gardar <aur AT gardar DOT net>

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
}