aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pkgconfig/APKBUILD
blob: e44de8bd51419ae577231cca51a562466e51c757 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-pkgconfig
_realname=pkgconfig
pkgver=1.5.1
pkgrel=1
pkgdesc="Python interface for the pkg-config command line tool"
options="!check" # GitHub tarballs depend on unpackaged poetry build system
url="https://github.com/matze/pkgconfig"
arch="noarch"
license="MIT"
depends="python3 pkgconf"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="1fd9aa973bd20a8fab864722598f1d19b94c23c7f2b522556b3182b19fe016bda7aa2be5e48a1b8fefa70a069611007d6d790e24defcb462e4594a382de85b00  pkgconfig-1.5.1.tar.gz"