diff options
Diffstat (limited to 'gis/proj/proj.SlackBuild')
-rw-r--r-- | gis/proj/proj.SlackBuild | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gis/proj/proj.SlackBuild b/gis/proj/proj.SlackBuild index 0f69e5f6e6..65a29ef30b 100644 --- a/gis/proj/proj.SlackBuild +++ b/gis/proj/proj.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=proj -VERSION=${VERSION:-9.2.1} +VERSION=${VERSION:-9.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,10 +79,8 @@ 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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + mkdir -p build ( cd build @@ -104,9 +102,6 @@ mkdir -p build 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 -#mv $PKG/usr/share/doc/proj $PKG/usr/doc/$PRGNAM-$VERSION -#rm -rf $PKG/usr/share/doc cp -a \ AUTHORS CITATION COPYING ChangeLog NEWS README README.md\ $PKG/usr/doc/$PRGNAM-$VERSION |