summaryrefslogtreecommitdiff
path: root/python/pycurl/pycurl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pycurl/pycurl.SlackBuild')
-rw-r--r--python/pycurl/pycurl.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/pycurl/pycurl.SlackBuild b/python/pycurl/pycurl.SlackBuild
index 5a2f5f981d..ed6ea11041 100644
--- a/python/pycurl/pycurl.SlackBuild
+++ b/python/pycurl/pycurl.SlackBuild
@@ -3,10 +3,11 @@
# Slackware build script for pycurl
# Written by Grissiom chaos.proton@gmail.com
+# Updated by LukenShiro <lukenshiro@ngi.it>
PRGNAM=pycurl
VERSION=${VERSION:-7.19.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -55,7 +56,7 @@ find . \
python setup.py install --root=$PKG
-find $PKG | xargs 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
mkdir -p ${PKG}/usr/doc/$PRGNAM-$VERSION