1 # Maintainer : Rémy Oudompheng <remy@archlinux.org>
2 # Contributor: Hugo Doria <hugo@archlinux.org>
7 pkgdesc="A Pacman package analyzer"
9 url='https://gitlab.archlinux.org/pacman/namcap'
11 depends=('python' 'pyalpm' 'licenses' 'binutils' 'elfutils' 'python-pyelftools' 'pkgconf')
12 checkdepends=('systemd' 'python-pytest' 'python-six')
13 makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
14 source=(https://gitlab.archlinux.org/pacman/namcap/-/archive/${pkgver}/namcap-${pkgver}.tar.bz2)
15 sha512sums=('ab4d1658dbdf192d1d91e3cf3cd3e4cab0be6021561e6d14ad86603b95f6261eb97bd3087a003ce493b3dea7a240d8fdddc29f059613b3ff3fb718467cd8078e')
18 cd ${pkgname}-${pkgver}
22 cd ${pkgname}-${pkgver}
27 cd ${pkgname}-${pkgver}
28 env PARSE_PKGBUILD_PATH="${srcdir}/${pkgname}-${pkgver}" \
29 PATH="${srcdir}/${pkgname}-${pkgver}/scripts:$PATH" \
34 cd ${pkgname}-${pkgver}
35 python setup.py install --root="${pkgdir}"