pkgname=python-pkgconfig pkgver=1.5.5 pkgrel=1 pkgdesc="Python module to interface with the pkg-config command line tool" arch=('x86_64') url="https://github.com/matze/pkgconfig" license=('MIT') depends=('python') makedepends=('python-setuptools') source=(https://pypi.io/packages/source/p/pkgconfig/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(deb4163ef11f75b520d822d9505c1f462761b4309b1bb713d08689759ea8b899) build() { cd ${pkgname#*-}-${pkgver} python3 setup.py build } package() { cd ${pkgname#*-}-${pkgver} python3 setup.py install --prefix=/usr --root=${pkgdir} --optimize=1 }