diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2013-06-08 09:15:26 -0300 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-06-09 12:58:18 -0400 |
commit | 894625ba1b0cddc6b8ed1880a0d4a1b30010b7fc (patch) | |
tree | c69791d7d955d32b9d4985eba0ac5ec363169b29 /academic/qgis/qgis.SlackBuild | |
parent | 125dee2506e642a8e07d3b52b9af5a2e7c8b4a09 (diff) | |
download | slackbuilds-894625ba1b0cddc6b8ed1880a0d4a1b30010b7fc.tar.gz |
academic/qgis: Updated for version 1.8.0 + new maintainer
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic/qgis/qgis.SlackBuild')
-rw-r--r-- | academic/qgis/qgis.SlackBuild | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/academic/qgis/qgis.SlackBuild b/academic/qgis/qgis.SlackBuild index 28b9de69ad..e76f4fac09 100644 --- a/academic/qgis/qgis.SlackBuild +++ b/academic/qgis/qgis.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for Quantum GIS # Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2013 Benjamin Trigona-Harany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qgis -VERSION=${VERSION:-1.7.4} +VERSION=${VERSION:-1.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -80,8 +81,6 @@ if [ "${SERVER:-no}" = "yes" ]; then WITHSERVER="-DWITH_MAPSERVER=TRUE -DQGIS_CGIBIN_SUBDIR=$CGIBINDIR" fi -patch -p1 < $CWD/qgis-1.7.4-headers.patch - cmake . \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ @@ -101,18 +100,23 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; -install -D -m 0644 $CWD/$PRGNAM.desktop \ - $PKG/usr/share/applications/$PRGNAM.desktop -install -D -m 0644 $CWD/$PRGNAM.png \ - $PKG/usr/share/pixmaps/$PRGNAM.png +install -D -m 0644 debian/qgis.desktop \ + $PKG/usr/share/applications/qgis.desktop +install -D -m 0644 debian/qgis.xml \ + $PKG/usr/share/mime/packages/qgis.xml + +mkdir -p $PKG/usr/share/pixmaps +ln -s /usr/share/qgis/images/icons/qgis-icon.png $PKG/usr/share/pixmaps +ln -s /usr/share/qgis/images/icons/qgis-mime-icon.png $PKG/usr/share/pixmaps mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - doc/AUTHORS BUGS CODING doc/CONTRIBUTORS COPYING CHANGELOG \ + doc/AUTHORS BUGS CODING doc/CONTRIBUTORS COPYING ChangeLog \ doc/DONORS Exception_to_GPL_for_Qt.txt INSTALL \ PROVENANCE README doc/SPONSORS TODO doc/TRANSLATORS \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/README.server > $PKG/usr/doc/$PRGNAM-$VERSION/README.server # Move a couple of optional server files to a more appropriate place -- they # need to be properly customised (and the server works without them). |