diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=auditwheel pkgver=2.0.0 -pkgrel=1 +pkgrel=2 pkgdesc='Cross-distribution Linux wheels' arch=(any) url="https://github.com/pypa/auditwheel" @@ -18,4 +18,11 @@ package() { local site="$pkgdir/usr/lib/$(readlink /bin/python3)/site-packages" mkdir -p "$site" unzip "$_wheel" -d "$site" + + cat >auditwheel.py <<-EOF + #!/usr/bin/env python3 + from auditwheel.main import main + main() + EOF + install -Dm755 auditwheel.py "$pkgdir/usr/bin/auditwheel" } |