xbps-src: code to handle new pycompile trigger.
This commit is contained in:
parent
c57f7509a3
commit
aafb971991
3 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue