Date: Sunday, April 9, 2023 @ 04:17:33
Author: felixonmars
Revision: 1443118
archrelease: copy trunk to community-staging-x86_64
Added:
navit/repos/community-staging-x86_64/
navit/repos/community-staging-x86_64/PKGBUILD
(from rev 1443117, navit/trunk/PKGBUILD)
navit/repos/community-staging-x86_64/navit.install
(from rev 1443117, navit/trunk/navit.install)
---------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
navit.install | 8 ++++++++
2 files changed, 42 insertions(+)
Copied: navit/repos/community-staging-x86_64/PKGBUILD (from rev 1443117,
navit/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-09 04:17:33 UTC (rev 1443118)
@@ -0,0 +1,34 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: TDY <[email protected]>
+# Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
+# Contributor: Stefan Lohmaier <noneuss at gmail dot com
+# Contributor: Thermionix <thermionix at gmail dot com>
+
+pkgname=navit
+pkgver=0.5.6
+pkgrel=6
+pkgdesc="Modular turn-by-turn car navigation system"
+arch=('x86_64')
+url="https://www.navit-project.org/"
+license=('GPL')
+depends=('dbus-glib' 'gpsd' 'gtk2' 'imlib2' 'sdl_image')
+makedepends=('cmake' 'libxslt')
+install=$pkgname.install
+source=($pkgname-$pkgver.tar.gz::https://github.com/navit-gps/navit/archive/v$pkgver.tar.gz)
+sha256sums=('043688e0b34504ca4ee80fb6a80895b938eae41e4031d0977dd30c20c20f1714')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's/lib64/lib/' CMakeLists.txt
+}
+
+build() {
+ cd $pkgname-$pkgver
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="$CFLAGS
-ffat-lto-objects" -DSAMPLE_MAP=FALSE -DDISABLE_QT=TRUE
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: navit/repos/community-staging-x86_64/navit.install (from rev 1443117,
navit/trunk/navit.install)
===================================================================
--- community-staging-x86_64/navit.install (rev 0)
+++ community-staging-x86_64/navit.install 2023-04-09 04:17:33 UTC (rev
1443118)
@@ -0,0 +1,8 @@
+post_install() {
+ echo "==> Additional setup is required"
+ echo " -> See http://wiki.navit-project.org/index.php/Configuration"
+ echo
+ echo "==> No maps are bundled with the install"
+ echo " -> See http://wiki.navit-project.org/index.php/Maps"
+ echo
+}