diff options
Diffstat (limited to 'python/lxml/lxml.SlackBuild')
-rw-r--r-- | python/lxml/lxml.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/python/lxml/lxml.SlackBuild b/python/lxml/lxml.SlackBuild index de6fb8d959..b3cd0029c1 100644 --- a/python/lxml/lxml.SlackBuild +++ b/python/lxml/lxml.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for lxml -# Copyright 2009-2013 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2009-2014 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=lxml -VERSION=${VERSION:-3.3.4} +VERSION=${VERSION:-3.3.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,10 +60,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; python setup.py build --with-unicode-strings python setup.py install --skip-build --root=$PKG @@ -72,9 +72,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - *.txt PKG-INFO doc/licenses/* doc/FAQ.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.txt PKG-INFO doc/licenses/* doc/FAQ.txt $PKG/usr/doc/$PRGNAM-$VERSION rm $PKG/usr/doc/$PRGNAM-$VERSION/version.txt cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |