xbps-src: code to handle new pycompile trigger.

This commit is contained in:
Juan RP 2011-10-05 14:26:54 +02:00
parent c57f7509a3
commit aafb971991
3 changed files with 18 additions and 0 deletions

View file

@ -91,6 +91,10 @@ install_src_phase()
msg_normal "$pkgver: removing libtool archives...\n"
find ${DESTDIR} -type f -name \*.la -delete
fi
# Remove bytecode python generated files.
msg_normal "$pkgver: removing python bytecode archives...\n"
find ${DESTDIR} -type f -name \*.py[co] -delete
# Always remove perllocal.pod and .packlist files.
if [ "$pkgname" != "perl" ]; then
find ${DESTDIR} -type f -name perllocal.pod -delete