diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2017-01-22 14:37:47 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-01-24 00:21:46 +0000 |
commit | 74d9f97c76b49eb6e726b9064b00d66e3d08d6a3 (patch) | |
tree | 2a2d51f44cee6fd99ad77b4a43b6daaf64516eb4 /gis/grass/grass.SlackBuild | |
parent | 8a6160bb6e1952712158c8669f4b81bece5f99b1 (diff) | |
download | slackbuilds-74d9f97c76b49eb6e726b9064b00d66e3d08d6a3.tar.gz |
gis/grass: Updated for version 7.2.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'gis/grass/grass.SlackBuild')
-rw-r--r-- | gis/grass/grass.SlackBuild | 18 |
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 |