mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
polib: Add python3 support.
We might want add python3 in the future. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
a9ad3ca536
commit
21c93a15e0
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,11 @@ find -L . \
|
||||||
|
|
||||||
python setup.py install --root=$PKG
|
python setup.py install --root=$PKG
|
||||||
|
|
||||||
|
# Check for python3
|
||||||
|
if [ -f /usr/bin/python3 ]; then
|
||||||
|
python3 setup.py install --root=$PKG
|
||||||
|
fi
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue