summaryrefslogtreecommitdiff
path: root/misc/zyGrib/zyGrib.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-04-06 07:50:16 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-12 10:07:03 +0700
commit3bf89542d0613944d8fedfc57f1ec6d3348d8bd5 (patch)
treea2592e44bf04837ba3e1d9401bd06e949663daf7 /misc/zyGrib/zyGrib.SlackBuild
parent74386cf2a4317cc0271272b783681bedf86c46f5 (diff)
downloadslackbuilds-3bf89542d0613944d8fedfc57f1ec6d3348d8bd5.tar.gz
misc/zyGrib: Updated for version 7.0.0.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'misc/zyGrib/zyGrib.SlackBuild')
-rw-r--r--misc/zyGrib/zyGrib.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/misc/zyGrib/zyGrib.SlackBuild b/misc/zyGrib/zyGrib.SlackBuild
index 73c217845d..0c1eab6870 100644
--- a/misc/zyGrib/zyGrib.SlackBuild
+++ b/misc/zyGrib/zyGrib.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zyGrib
-VERSION=${VERSION:-6.2.3}
+VERSION=${VERSION:-7.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,15 +72,15 @@ 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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Makefile installs a good local installation, but we need a system installation
-patch -p0 < $CWD/Makefile.patch
-
-make
+make QMAKE=/usr/bin/qmake
make install INSTALLDIR=$PKG/opt/$PRGNAM
-mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps
+mkdir -p $PKG/usr/bin/
+ln -sfv /opt/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM
+
+mkdir -p $PKG/usr/share/applications/ $PKG/usr/share/pixmaps/
cat $CWD/zyGrib.desktop > $PKG/usr/share/applications/zyGrib.desktop
cat $CWD/zyGrib.png > $PKG/usr/share/pixmaps/zyGrib.png