summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRenato Caldas2023-08-26 10:55:03 +0100
committerRenato Caldas2023-08-26 10:55:03 +0100
commit6ea322675e17507e84848cf4e9277060d2a7ce51 (patch)
treed0415f31a6a57b607341edb84e7a0334928ac176 /PKGBUILD
parent12a1740d4318bcce9ae9f16900c697b0ee67c546 (diff)
downloadaur-6ea322675e17507e84848cf4e9277060d2a7ce51.tar.gz
Remove python cache files after install
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6a4d466cb0a8..3324143d287f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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