diff options
author | graysky | 2023-11-06 06:46:01 -0500 |
---|---|---|
committer | graysky | 2023-11-06 06:46:01 -0500 |
commit | 9406fda4e4de9c83dba3c12075df62b404689a8e (patch) | |
tree | 6d7d98477361be894d7cdaaafdc192639e002553 /PKGBUILD | |
parent | bb735d02c741c36f6e42b091a47f8da789e019ee (diff) | |
download | aur-9406fda4e4de9c83dba3c12075df62b404689a8e.tar.gz |
Update to 4.6.0-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |