[arch-commits] Commit in gpxsee/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Feb 26 22:16:38 UTC 2019
Date: Tuesday, February 26, 2019 @ 22:16:36
Author: arojas
Revision: 436176
Update to 7.3
Modified:
gpxsee/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-26 22:00:21 UTC (rev 436175)
+++ PKGBUILD 2019-02-26 22:16:36 UTC (rev 436176)
@@ -5,8 +5,8 @@
pkgname=gpxsee
_pkgname=GPXSee
-pkgver=7.0
-pkgrel=2
+pkgver=7.3
+pkgrel=1
pkgdesc='GPS log file viewer and analyzer'
arch=(x86_64)
url='http://www.gpxsee.org/'
@@ -14,24 +14,18 @@
depends=(desktop-file-utils hicolor-icon-theme qt5-imageformats)
makedepends=(qt5-tools)
source=(https://downloads.sourceforge.net/$pkgname/$_pkgname-$pkgver.tar.gz)
-sha256sums=('6df9cb128f022b2f0be39387d00bf69c08e7d1b758e991d346c73831aa23ff9f')
+sha256sums=('e7f394a1962a9c1ac7c9f8fb55c73369789a5a3c26df549dfa83825785e7858c')
build() {
cd $_pkgname-$pkgver
lrelease-qt5 gpxsee.pro
- qmake gpxsee.pro
+ qmake gpxsee.pro PREFIX=/usr
make
}
package() {
cd $_pkgname-$pkgver
- install -dm755 "$pkgdir"/usr/share/$pkgname/{csv,maps,translations}
- install -Dm755 GPXSee "$pkgdir"/usr/bin/$pkgname
- install -Dm644 pkg/csv/* "$pkgdir"/usr/share/$pkgname/csv
- install -Dm644 pkg/maps/* "$pkgdir"/usr/share/$pkgname/maps
- install -Dm644 lang/*.qm "$pkgdir"/usr/share/$pkgname/translations
- install -Dm644 icons/gpxsee.png "$pkgdir"/usr/share/icons/hicolor/64x64/apps/$pkgname.png
- install -Dm644 pkg/gpxsee.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
- install -Dm644 pkg/gpxsee.xml "$pkgdir"/usr/share/mime/packages/$pkgname.xml
+ make INSTALL_ROOT="$pkgdir" install
+ # Install appdata
install -Dm644 pkg/appdata.xml "$pkgdir"/usr/share/metainfo/$pkgname.appdata.xml
}
More information about the arch-commits
mailing list