summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFabio Manganiello2024-01-19 02:14:43 +0100
committerFabio Manganiello2024-01-19 02:15:02 +0100
commit554fd91c0e8afbb97a819207997ea291ad3bafc3 (patch)
treec5a3eb80667c79835acbc29dfb7c96f2f53c2565 /PKGBUILD
parentf73af1eb1fc5d618a0d6c46b7cfc162a8d4d127c (diff)
downloadaur-554fd91c0e8afbb97a819207997ea291ad3bafc3.tar.gz
Added PYTHONDONTWRITEBYTECODE=1 to prevent the generation of __pycache__ during build
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9da8711b8809..8f8c1d0bd1ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=platypush-git
pkgver=0.50.3.r726.g2e9cb44c
-pkgrel=1
+pkgrel=2
pkgdesc="Universal multi-platform command executor and automation manager"
arch=('any')
license=('MIT')
@@ -111,7 +111,7 @@ sha256sums=('SKIP')
package() {
cd "${srcdir}/platypush"
- python3 setup.py install --root="${pkgdir}/" --optimize=1
+ PYTHONDONTWRITEBYTECODE=1 python3 setup.py install --root="${pkgdir}/" --optimize=1
install -m755 -d "${pkgdir}/usr/lib/systemd/user"
install -m644 "${srcdir}/platypush/examples/systemd/platypush.service" "${pkgdir}/usr/lib/systemd/user"