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 | |
parent | bb735d02c741c36f6e42b091a47f8da789e019ee (diff) | |
download | aur-bleachbit-cli.tar.gz |
Update to 4.6.0-2
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -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 @@ -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 |