[arch-commits] Commit in routino/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:07:58 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:07:58
  Author: felixonmars
Revision: 658716

archrelease: copy trunk to community-staging-x86_64

Added:
  routino/repos/community-staging-x86_64/
  routino/repos/community-staging-x86_64/PKGBUILD
    (from rev 658715, routino/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: routino/repos/community-staging-x86_64/PKGBUILD (from rev 658715, routino/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 14:07:58 UTC (rev 658716)
@@ -0,0 +1,36 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Sanpi <sanpi+aur at homecomputing.fr>
+
+pkgname=routino
+pkgver=3.3.1
+pkgrel=2
+pkgdesc='Router for OpenStreetMap Data'
+arch=('x86_64')
+url='https://www.routino.org/'
+license=('AGPL3')
+depends=('zlib' 'bzip2')
+source=(https://www.routino.org/download/$pkgname-$pkgver.tgz)
+sha256sums=('a954565ab60a5abebc47e8c6e8b496f972e8dd781810fa5548b6d7a9e3e5e135')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+#paths fix
+  sed -i 's|prefix=/usr/local|prefix=/usr|' Makefile.conf
+  sed -i 's|/doc/routino|/share/doc/routino|' Makefile.conf
+
+#RPATH fix
+  sed -i 's|LDFLAGS_LDSO=-Wl,-R.||' Makefile.conf
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list