diff --git a/srcpkgs/modrana/template b/srcpkgs/modrana/template new file mode 100644 index 00000000000..1b168d867eb --- /dev/null +++ b/srcpkgs/modrana/template @@ -0,0 +1,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 " +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 +}