void-packages/srcpkgs/modrana/template

31 lines
1.1 KiB
Bash

# 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
}