diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-09 07:11:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-09 07:11:39 +0700 |
commit | 24040ff5a978704c5347c3a62e2d3e030d000b6b (patch) | |
tree | 8c3b2dc0cab318feb8223deaa6cf05a02565a495 /libraries/PyXML/PyXML.SlackBuild | |
parent | 9e38ce1b075c8028346700a8320b22b86e98aeb4 (diff) | |
download | slackbuilds-24040ff5a978704c5347c3a62e2d3e030d000b6b.tar.gz |
libraries/PyXML: Update DOWNLOAD url and cleanups.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/PyXML/PyXML.SlackBuild')
-rw-r--r-- | libraries/PyXML/PyXML.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libraries/PyXML/PyXML.SlackBuild b/libraries/PyXML/PyXML.SlackBuild index f248fdbf9e..a733c5a99c 100644 --- a/libraries/PyXML/PyXML.SlackBuild +++ b/libraries/PyXML/PyXML.SlackBuild @@ -34,7 +34,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -58,7 +58,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 -i $CWD/PyXML-0.8.4-python2.6.patch @@ -70,13 +70,10 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/man/man1 cp $TMP/$PRGNAM-$VERSION/doc/man/* $PKG/usr/man/man1 -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION - cp -a ANNOUNCE CREDITS LICENCE MANIFEST PKG-INFO README* TODO demo doc \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |