summaryrefslogtreecommitdiffstats
path: root/gis/grass/grass.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/grass/grass.SlackBuild')
-rw-r--r--gis/grass/grass.SlackBuild18
1 files changed, 9 insertions, 9 deletions
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