diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2010-08-29 23:53:47 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-30 07:49:34 -0500 |
commit | c2b4d5ecdc9685e0d6bf3a1c43564edb302e568f (patch) | |
tree | 728c0eacb0969a7b1ac3c480e651c0879f841b0d /development/ipython | |
parent | 5d281599ee97a53c927bce4f611d76acfdf7b87b (diff) |
development/ipython: Fixed permissions of docdir contents
Thanks to vvoody.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 {} \; |