diff options
author | Robin Broda | 2018-03-04 17:25:18 +0100 |
---|---|---|
committer | Robin Broda | 2018-03-04 17:25:18 +0100 |
commit | 433a6fc09d91b84714784f7216c3b45a8865693c (patch) | |
tree | 6811646142a7258e6c082df886e67bbc906bd84f | |
parent | 8b4c4d774b65e4f89b0e1cf39253e285730e26b0 (diff) | |
download | aur-433a6fc09d91b84714784f7216c3b45a8865693c.tar.gz |
Precompile caches to prevent untracked file creations
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = indicator-sysmonitor-git pkgdesc = A configurable system monitoring applet pkgver = r90.f5f5f6f - pkgrel = 8 + pkgrel = 9 url = https://github.com/fossfreedom/indicator-sysmonitor arch = any license = GPL3 @@ -4,7 +4,7 @@ _pkgbase=indicator-sysmonitor pkgbase="${_pkgbase}-git" pkgname=("${_pkgbase}-budgie-git" "${_pkgbase}-appindicator-git") pkgver=r90.f5f5f6f -pkgrel=8 +pkgrel=9 pkgdesc='A configurable system monitoring applet' arch=('any') url='https://github.com/fossfreedom/indicator-sysmonitor' @@ -36,6 +36,9 @@ package_indicator-sysmonitor-budgie-git() { cd "${_pkgbase}" make DESTDIR="${pkgdir}" installbudgie + + python -m compileall -d '/' "${pkgdir}/" + python -O -m compileall -d '/' "${pkgdir}/" } package_indicator-sysmonitor-appindicator-git() { @@ -46,4 +49,7 @@ package_indicator-sysmonitor-appindicator-git() { cd "${_pkgbase}" make DESTDIR="${pkgdir}" install + + python -m compileall -d '/' "${pkgdir}/" + python -O -m compileall -d '/' "${pkgdir}/" } |