diff options
author | Renato Caldas | 2023-08-26 10:55:03 +0100 |
---|---|---|
committer | Renato Caldas | 2023-08-26 10:55:03 +0100 |
commit | 6ea322675e17507e84848cf4e9277060d2a7ce51 (patch) | |
tree | d0415f31a6a57b607341edb84e7a0334928ac176 /PKGBUILD | |
parent | 12a1740d4318bcce9ae9f16900c697b0ee67c546 (diff) | |
download | aur-6ea322675e17507e84848cf4e9277060d2a7ce51.tar.gz |
Remove python cache files after install
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,7 +3,7 @@ pkgname=('basix-git' 'python-fenics-basix-git') pkgdesc='FEniCS finite element basis evaluation library' pkgver="0.7.0.dev0"_r934.571d504 -pkgrel=2 +pkgrel=3 arch=('x86_64') url='https://fenicsproject.org' license=('MIT') @@ -58,6 +58,7 @@ package_python-fenics-basix-git() { cd "$srcdir/basix/python" python -m installer --destdir="$pkgdir" dist/*.whl + find "$pkgdir" -regex '^.*\(__pycache__\|\.py[co]\)$' -delete install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/python-fenics-basix-git/LICENSE" # Remove insecure runpath |