From 74d9f97c76b49eb6e726b9064b00d66e3d08d6a3 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 22 Jan 2017 14:37:47 +0000 Subject: gis/grass: Updated for version 7.2.0. Signed-off-by: David Spencer --- gis/grass/grass.SlackBuild | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'gis/grass/grass.SlackBuild') diff --git a/gis/grass/grass.SlackBuild b/gis/grass/grass.SlackBuild index b15b223d02..d965a72cfb 100644 --- a/gis/grass/grass.SlackBuild +++ b/gis/grass/grass.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=grass -VERSION=${VERSION:-7.0.5} +VERSION=${VERSION:-7.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,10 +64,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 {} \; # Option handling: set -- $(echo $ENABLE | sed 's/,/ /g') @@ -154,17 +154,17 @@ install -D -m0644 grass.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/grass.pc # Create unversioned symlinks: ( cd $PKG/opt ; ln -s $PRGNAM-$VERSION $PRGNAM ) -( cd $PKG/usr/bin ; ln -s grass70 $PRGNAM ) +( cd $PKG/usr/bin ; ln -s grass72 $PRGNAM ) # Remove hardcoded version strings: sed -i -e "s/-${VERSION}//g" \ - $PKG/usr/bin/grass70 \ + $PKG/usr/bin/grass72 \ $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/grass.pc # Remove packaging directory pollution: sed -i -e "s;$PKG;;" \ - $PKG/usr/bin/grass70 \ - $PKG/opt/$PRGNAM-$VERSION/demolocation/.grassrc70 \ + $PKG/usr/bin/grass72 \ + $PKG/opt/$PRGNAM-$VERSION/demolocation/.grassrc72 \ $PKG/opt/$PRGNAM-$VERSION/etc/fontcap \ $PKG/opt/$PRGNAM-$VERSION/include/Make/Grass.make \ $PKG/opt/$PRGNAM-$VERSION/include/Make/Platform.make -- cgit v1.2.3