diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-13 00:33:18 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:33:18 +0200 |
commit | 5ce07c1d4e510dd1b43030821057fb6d16265c4d (patch) | |
tree | ad77ca64b7d2e81e5f3a335e71c6602d74fe180c /libraries/python-distutils-extra/python-distutils-extra.SlackBuild | |
parent | d6ddf063e0a6b6f2ffc5f7c8bccd7f3f7bd344f0 (diff) |
libraries/python-distutils-extra: Updated for version 2.14
Diffstat (limited to 'libraries/python-distutils-extra/python-distutils-extra.SlackBuild')
-rw-r--r-- | libraries/python-distutils-extra/python-distutils-extra.SlackBuild | 14 |
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} |