diff options
author | Philipp A | 2019-03-11 15:21:06 +0100 |
---|---|---|
committer | Philipp A | 2019-03-11 15:21:06 +0100 |
commit | 48a4e27bd9ff7281bd615152f81834c6b4524757 (patch) | |
tree | 9df05da28cbbf5411f86a92bc6aec51ac4ec6c3b | |
parent | bb2996c4e8b8ebf233aecf65095753783cd0104d (diff) | |
download | aur-48a4e27bd9ff7281bd615152f81834c6b4524757.tar.gz |
added script
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = auditwheel pkgdesc = Cross-distribution Linux wheels pkgver = 2.0.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/pypa/auditwheel arch = any license = MIT @@ -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" } |