summaryrefslogtreecommitdiff
path: root/gis/gpxsee/gpxsee.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/gpxsee/gpxsee.SlackBuild')
-rw-r--r--gis/gpxsee/gpxsee.SlackBuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/gis/gpxsee/gpxsee.SlackBuild b/gis/gpxsee/gpxsee.SlackBuild
index 52479290b1..88c78bc412 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:-7.1}
+VERSION=${VERSION:-7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,19 +75,11 @@ patch -p1 < $CWD/fix_font_narrow_space.diff
lrelease-qt5 gpxsee.pro
qmake-qt5 \
+ PREFIX="/usr" \
QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
gpxsee.pro
-make
-
-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
+make && make INSTALL_ROOT="$PKG" install
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