Date: Wednesday, April 14, 2021 @ 20:41:13 Author: jelle Revision: 412469
initial commit Added: python-pytest-pacman/trunk/PKGBUILD ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Added: PKGBUILD =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-04-14 20:41:13 UTC (rev 412469) @@ -0,0 +1,27 @@ +# Maintainer: Jelle van der Waa <[email protected]> + +pkgname=python-pytest-pacman +pkgver=0.1 +pkgrel=1 +pkgdesc="pacman db pytest fixture" +arch=('any') +license=('MIT') +url="https://gitlab.archlinux.org/archlinux/pytest-pacman" +depends=(python python-pytest python-setuptools) +makedepends=(git) +source=(git+https://gitlab.archlinux.org/archlinux/pytest-pacman.git?signed#tag=v${pkgver}) +sha512sums=('SKIP') + +build() { + cd pytest-pacman + python setup.py build +} + +package() { + cd pytest-pacman + + python setup.py install --root="${pkgdir}" -O1 --skip-build + + install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
