diff options
author | otreblan | 2020-10-09 15:11:21 -0500 |
---|---|---|
committer | otreblan | 2020-10-09 15:11:21 -0500 |
commit | 5eac5565fd6772edabc9da74bc15c8e7b066a925 (patch) | |
tree | 46838fc3081cf9b7383a956f33eb8619a304e3dd | |
parent | 2fa3ada822faa6e24b997d9c9239a45b5fa75fca (diff) | |
download | aur-5eac5565fd6772edabc9da74bc15c8e7b066a925.tar.gz |
"" and -O pycache
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -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 @@ -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() { |