44ba71bb0b
Version 7.3 OBS-URL: https://build.opensuse.org/request/show/677531 OBS-URL: https://build.opensuse.org/package/show/graphics/gpxsee?expand=0&rev=104
41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
pkgname=gpxsee
|
|
pkgver=7.3
|
|
pkgrel=1
|
|
pkgdesc='GPS log files visualizing and analyzing tool'
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gpxsee.org/"
|
|
license=('GPL3')
|
|
depends=('qt5-base' 'qt5-imageformats')
|
|
makedepends=('qt5-tools')
|
|
provides=("${pkgname}=${pkgver}")
|
|
source=("GPXSee-${pkgver}.tar.gz")
|
|
sha256sums=('SKIP')
|
|
|
|
build() {
|
|
cd GPXSee-${pkgver}
|
|
lrelease gpxsee.pro
|
|
qmake gpxsee.pro
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd GPXSee-${pkgver}
|
|
|
|
install -d 755 ${pkgdir}/usr/bin
|
|
install -d 755 ${pkgdir}/usr/share/applications
|
|
install -d 755 ${pkgdir}/usr/share/pixmaps
|
|
install -d 755 ${pkgdir}/usr/share/mime/packages
|
|
install -d 755 ${pkgdir}/usr/share/${pkgname}
|
|
install -d 755 ${pkgdir}/usr/share/${pkgname}/maps
|
|
install -d 755 ${pkgdir}/usr/share/${pkgname}/csv
|
|
install -d 755 ${pkgdir}/usr/share/${pkgname}/translations
|
|
|
|
install -m 755 gpxsee ${pkgdir}/usr/bin/${pkgname}
|
|
install -m 644 pkg/maps/* ${pkgdir}/usr/share/${pkgname}/maps
|
|
install -m 644 pkg/csv/* ${pkgdir}/usr/share/${pkgname}/csv
|
|
install -m 644 lang/*.qm ${pkgdir}/usr/share/${pkgname}/translations
|
|
install -m 644 icons/gpxsee.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
|
|
install -m 644 pkg/gpxsee.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
|
|
install -m 644 pkg/gpxsee.xml ${pkgdir}/usr/share/mime/packages/${pkgname}.xml
|
|
}
|