diff options
Diffstat (limited to 'python/pyxdg/pyxdg.SlackBuild')
-rw-r--r-- | python/pyxdg/pyxdg.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/pyxdg/pyxdg.SlackBuild b/python/pyxdg/pyxdg.SlackBuild index a1e16ec70d69a..f54fe8a8fd28d 100644 --- a/python/pyxdg/pyxdg.SlackBuild +++ b/python/pyxdg/pyxdg.SlackBuild @@ -71,6 +71,11 @@ find -L . \ python setup.py install --root $PKG +# Install python3 bindings for pyxdg. Default is no. +if [ "${PYTHON3:-no}" == "yes" ]; then + python3 setup.py install --root=$PKG +fi + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |