diff options
Diffstat (limited to 'development/ipython')
-rw-r--r-- | development/ipython/ipython.SlackBuild | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/development/ipython/ipython.SlackBuild b/development/ipython/ipython.SlackBuild index ad7617e08776e..5d215332a1e67 100644 --- a/development/ipython/ipython.SlackBuild +++ b/development/ipython/ipython.SlackBuild @@ -24,15 +24,13 @@ PKGNAM=ipython VERSION=${VERSION:-0.10} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -51,22 +49,17 @@ rm -rf $PKGNAM-$VERSION tar xvf $CWD/$PKGNAM-$VERSION.tar.gz cd $PKGNAM-$VERSION -# Make sure ownerships and permissions are sane: find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Build and install: -python setup.py \ - install \ - --root="$PKG" +python setup.py install --root="$PKG" -# Install documentation: mkdir -p $PKG/usr/doc mv $PKG/usr/share/doc/ipython $PKG/usr/doc/ipython-$VERSION -chmod -R 0644 $PKG/usr/doc/$PKGNAM-$VERSION/* +find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \; mv $PKG/usr/share/man $PKG/usr find $PKG/usr/man -type f -exec gzip -9 {} \; |