summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b93392e1d46b..3a703423ae0d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = giara-git
pkgdesc = Reddit gtk client
pkgver = 0.1.r0.g451dd94
- pkgrel = 1
+ pkgrel = 2
url = https://gitlab.gnome.org/GabMus/giara
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index b891c7796d69..42ba0c49acd1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=giara-git
pkgver=0.1.r0.g451dd94
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="Reddit gtk client"
arch=('any')
@@ -37,7 +37,10 @@ prepare() {
local _ddir="/usr/lib/python$_pver/site-packages/${pkgname%-git}/"
# Generate pycache, if you ran giara as root this will conflict
- python -OO -m compileall . --invalidation-mode checked-hash -d "$_ddir"
+ for f in "" -O;
+ do
+ python $f -m compileall . --invalidation-mode checked-hash -d "$_ddir"
+ done
}
pkgver() {