summaryrefslogtreecommitdiffstats
path: root/misc/zyGrib/zyGrib.SlackBuild
diff options
context:
space:
mode:
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