summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp A2019-03-11 15:21:06 +0100
committerPhilipp A2019-03-11 15:21:06 +0100
commit48a4e27bd9ff7281bd615152f81834c6b4524757 (patch)
tree9df05da28cbbf5411f86a92bc6aec51ac4ec6c3b
parentbb2996c4e8b8ebf233aecf65095753783cd0104d (diff)
downloadaur-48a4e27bd9ff7281bd615152f81834c6b4524757.tar.gz
added script
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef7ee91547a..bced8366083 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index d2df95695a3..9eb5e9bff51 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}