pkgname=sip pkgver=6.8.6 _pkgver=6.8.6 pkgrel=2 pkgdesc="Tool that makes it easy to create Python3 bindings for C and C++ libraries" arch=('x86_64') url="https://github.com/Python-SIP/sip" license=('custom:"sip"') depends=('python3-packaging' 'python3-toml' 'python3-ply' 'python3-tomli') makedepends=('python3-build' 'python3-installer' 'python3-setuptools-scm' 'python3-wheel') source=("https://files.pythonhosted.org/packages/source/s/${pkgname}/${pkgname}-${pkgver}.tar.gz") sha256sums=('7fc959e48e6ec5d5af8bd026f69f5e24d08b3cb8abb342176f5ab8030cc07d7a') build() { cd ${pkgname}-${pkgver} python3 -m build -nw } package() { cd ${pkgname}-${pkgver} python3 -m installer --destdir=${pkgdir} dist/*.whl install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }