summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgraysky2023-11-06 06:46:01 -0500
committergraysky2023-11-06 06:46:01 -0500
commit9406fda4e4de9c83dba3c12075df62b404689a8e (patch)
tree6d7d98477361be894d7cdaaafdc192639e002553 /PKGBUILD
parentbb735d02c741c36f6e42b091a47f8da789e019ee (diff)
downloadaur-9406fda4e4de9c83dba3c12075df62b404689a8e.tar.gz
Update to 4.6.0-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c0257d54c344..65ba0dfab885 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=bleachbit-cli
_pkgname=bleachbit
pkgver=4.6.0
-pkgrel=1
+pkgrel=2
pkgdesc='Deletes unneeded files to free disk space and maintain privacy. CLI version/no GUI.'
conflicts=($_pkgname)
provides=("bleachbit=${pkgver}")
@@ -24,6 +24,10 @@ package() {
cd $_pkgname-$pkgver
make prefix=/usr DESTDIR="$pkgdir" install
+ # to avoid cache getting generated by executable pre-build it which
+ # makes for a clean uninstall/update
+ python -m compileall -d /usr "$pkgdir"/usr
+ python -O -m compileall -d /usr "$pkgdir"/usr
# suggestion by Meow to force script to operate in cli mode
sed -i 's/if 1/if 0/' "$pkgdir"/usr/bin/bleachbit