summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2023-11-06 06:46:01 -0500
committergraysky2023-11-06 06:46:01 -0500
commit9406fda4e4de9c83dba3c12075df62b404689a8e (patch)
tree6d7d98477361be894d7cdaaafdc192639e002553
parentbb735d02c741c36f6e42b091a47f8da789e019ee (diff)
downloadaur-bleachbit-cli.tar.gz
Update to 4.6.0-2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index daf667489242..6bb37dc55ba5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bleachbit-cli
pkgdesc = Deletes unneeded files to free disk space and maintain privacy. CLI version/no GUI.
pkgver = 4.6.0
- pkgrel = 1
+ pkgrel = 2
url = https://www.bleachbit.org/
arch = any
license = GPL3
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