aboutsummaryrefslogtreecommitdiff
path: root/gis/gpxsee/gpxsee.SlackBuild
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@gmail.com>2018-12-09 08:07:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-09 08:07:09 +0700
commit75deef86dc51b32d3aa352e12ea62853df7827be (patch)
treeec610c16f8ed2542fdbc6bfffc43497dacb93e9b /gis/gpxsee/gpxsee.SlackBuild
parent29c2d77b0f110c3583b1ad1f857cc2d28cd6c636 (diff)
gis/gpxsee: Updated for version 7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/gpxsee/gpxsee.SlackBuild')
-rw-r--r--gis/gpxsee/gpxsee.SlackBuild26
1 files changed, 9 insertions, 17 deletions
diff --git a/gis/gpxsee/gpxsee.SlackBuild b/gis/gpxsee/gpxsee.SlackBuild
index e99578cde96f8..da7a039ba52a2 100644
--- a/gis/gpxsee/gpxsee.SlackBuild
+++ b/gis/gpxsee/gpxsee.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gpxsee
-VERSION=${VERSION:-6.3}
+VERSION=${VERSION:-7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,22 +80,14 @@ qmake-qt5 \
gpxsee.pro
make
-install -d -m 0755 $PKG/usr/bin
-install -d -m 0755 $PKG/usr/share/applications
-install -d -m 0755 $PKG/usr/share/pixmaps
-install -d -m 0755 $PKG/usr/share/mime/packages
-install -d -m 0755 $PKG/usr/share/$PRGNAM
-install -d -m 0755 $PKG/usr/share/$PRGNAM/maps
-install -d -m 0755 $PKG/usr/share/$PRGNAM/csv
-install -d -m 0755 $PKG/usr/share/$PRGNAM/translations
-
-install -m 0755 GPXSee $PKG/usr/bin/$PRGNAM
-install -m 0644 pkg/maps/* $PKG/usr/share/$PRGNAM/maps
-install -m 0644 pkg/csv/* $PKG/usr/share/$PRGNAM/csv
-install -m 0644 lang/*.qm $PKG/usr/share/$PRGNAM/translations
-install -m 0644 icons/gpxsee.png $PKG/usr/share/pixmaps/$PRGNAM.png
-install -m 0644 pkg/gpxsee.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-install -m 0644 pkg/gpxsee.xml $PKG/usr/share/mime/packages/$PRGNAM.xml
+install -Dm0755 GPXSee $PKG/usr/bin/$PRGNAM
+install -Dm0644 pkg/csv/* -t $PKG/usr/share/$PRGNAM/csv
+install -Dm0644 pkg/maps/* -t $PKG/usr/share/$PRGNAM/maps
+install -Dm0644 lang/*.qm -t $PKG/usr/share/$PRGNAM/translations
+install -Dm0644 icons/gpxsee.png $PKG/usr/share/pixmaps/$PRGNAM.png
+install -Dm0644 pkg/gpxsee.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+install -Dm0644 pkg/gpxsee.xml $PKG/usr/share/mime/packages/$PRGNAM.xml
+install -Dm0644 pkg/appdata.xml $PKG/usr/share/appdata/$PRGNAM.appdata.xml
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true