diff options
Diffstat (limited to 'libraries/python-dateutil/python-dateutil.SlackBuild')
-rw-r--r-- | libraries/python-dateutil/python-dateutil.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libraries/python-dateutil/python-dateutil.SlackBuild b/libraries/python-dateutil/python-dateutil.SlackBuild index b31abe3f6f..897fc4fc93 100644 --- a/libraries/python-dateutil/python-dateutil.SlackBuild +++ b/libraries/python-dateutil/python-dateutil.SlackBuild @@ -32,12 +32,8 @@ find . \ python setup.py install --root=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs 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 cp -a LICENSE NEWS README $PKG/usr/doc/$PRGNAM-$VERSION @@ -47,4 +43,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |