aboutsummaryrefslogtreecommitdiff
path: root/libraries/python-distutils-extra/python-distutils-extra.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/python-distutils-extra/python-distutils-extra.SlackBuild')
-rw-r--r--libraries/python-distutils-extra/python-distutils-extra.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/python-distutils-extra/python-distutils-extra.SlackBuild b/libraries/python-distutils-extra/python-distutils-extra.SlackBuild
index b633483c7415a..8e61ca93e8193 100644
--- a/libraries/python-distutils-extra/python-distutils-extra.SlackBuild
+++ b/libraries/python-distutils-extra/python-distutils-extra.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=python-distutils-extra
-VERSION=${VERSION:-1.92}
+VERSION=${VERSION:-2.14}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -20,9 +20,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf debian
-tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz
-cd debian
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -36,12 +36,12 @@ python setup.py install --root=$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
+ xargs strip --strip-unneeded 2> /dev/null || true
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE doc/{FAQ,README} \
+ LICENSE PKG-INFO doc/{FAQ,README} \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -49,4 +49,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}