-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
30 lines (29 loc) · 1.05 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Template file for 'modrana'
pkgname=modrana
version=0.57.3
revision=1
# releases aren't tagged in git
_version_commit=dbd558d407abe7a3a4a352c96b618147cade4bd9
build_style=gnu-makefile
build_helper=qmake
make_build_target="VersionFile all rsync launcher"
make_use_env=yes
hostmakedepends="rsync qt5-qmake qt5-host-tools"
makedepends="qt5-declarative-devel"
depends="pyotherside qt5-quickcontrols2"
short_desc="Flexible GPS navigation system for mobile devices"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="GPL-3.0-or-later"
homepage="https://modrana.org"
distfiles="https://github.com/M4rtinK/modrana/archive/${_version_commit}.tar.gz"
checksum=7f93e4660997a8cba4194709c4566dec667da1c99ae45dd66ea6df71b8c637a6
python_version=3
disable_parallel_build=yes
post_install() {
# not sure why the gtk binary is still here, only qt is supported/working
rm ${DESTDIR}/usr/bin/modrana-gtk
# broken, tries to invoke QT launcher with wrong path (/usr/modrana), just
# use modrana-qt5
rm ${DESTDIR}/usr/bin/modrana
rm ${DESTDIR}/usr/share/applications/modrana.desktop
}