# Maintainer: Chocobo1 pkgname=nuitka-git pkgver=1.5.5.r338.g3c3e8f96d pkgrel=1 pkgdesc="A Python compiler" arch=('any') url="https://nuitka.net/" license=('Apache') depends=('python') makedepends=('git' 'python-build' 'python-installer' 'python-wheel') optdepends=('chrpath: for building standalone executables') provides=("nuitka=$pkgver") conflicts=('nuitka') source=("git+https://github.com/Nuitka/Nuitka.git") sha256sums=('SKIP') pkgver() { cd "Nuitka" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "Nuitka" python \ -m build \ --wheel \ --no-isolation } package() { cd "Nuitka" python \ -m installer \ --destdir="$pkgdir" \ dist/*.whl }