summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bd907bd12347..ec20a0137be9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=giara-git
pkgver=r84.9b950c9
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="Reddit gtk client"
arch=('any')
@@ -31,8 +31,7 @@ sha256sums=("SKIP")
prepare() {
# Generate pycache, if you ran giara as root this will conflict
- find "$srcdir/$pkgname/${pkgname%-git}" -name "*.py" |\
- xargs python -c 'import py_compile, sys; py_compile.main(sys.argv[1:])'
+ python -m compileall "$srcdir/$pkgname/${pkgname%-git}"
}
pkgver() {