diff --git a/srcpkgs/python3-pygame/template b/srcpkgs/python3-pygame/template index ec00d18a784..6bb6448fe80 100644 --- a/srcpkgs/python3-pygame/template +++ b/srcpkgs/python3-pygame/template @@ -18,3 +18,9 @@ distfiles="${PYPI_SITE}/p/pygame/pygame-${version}.tar.gz" checksum=8b1e7b63f47aafcdd8849933b206778747ef1802bd3d526aca45ed77141e4001 export PORTMIDI_INC_PORTTIME=1 + +post_extract() { + find src_c/cython/pygame -name '*.pyx' | + sed 's,cython/pygame/,,;s/pyx$/c/' | + xargs rm -f +}