[arch-commits] Commit in gpsd/trunk (PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sat Oct 13 15:28:38 UTC 2018
Date: Saturday, October 13, 2018 @ 15:28:38
Author: jlichtblau
Revision: 393289
upgpkg: gpsd 3.18-2 - systemd files path fixed
Modified:
gpsd/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-13 14:12:27 UTC (rev 393288)
+++ PKGBUILD 2018-10-13 15:28:38 UTC (rev 393289)
@@ -6,7 +6,7 @@
pkgname=gpsd
pkgver=3.18
-pkgrel=1
+pkgrel=2
pkgdesc="GPS daemon and library to support USB/serial GPS devices"
arch=('x86_64')
url="http://catb.org/gpsd/"
@@ -45,28 +45,30 @@
# Fix man pages path (FS#21715)
sed -i 's|.so gps.1|.so man1/gps.1|' cgps.1 lcdgps.1 xgps.1 xgpsspeed.1
+ # Fix path in systemd files
+ sed -i 's|local/sbin|bin|' systemd/{gpsd.service,gpsdctl at .service}
- export DESTDIR="$pkgdir"
+ export DESTDIR="${pkgdir}"
scons install
- install -Dm755 gpsinit -t "$pkgdir/usr/bin"
- chmod 755 "$pkgdir"/usr/bin/*
+ install -Dm755 gpsinit -t "${pkgdir}"/usr/bin
+ chmod 755 "${pkgdir}"/usr/bin/*
- install -Dm644 "$srcdir/gpsd.conf" "$pkgdir/etc/default/gpsd"
+ install -Dm644 "$srcdir/gpsd.conf" "${pkgdir}"/etc/default/gpsd
- install -Dm644 "gpsd.rules" "$pkgdir/usr/lib/udev/rules.d/25-gpsd-usb.rules"
+ install -Dm644 "gpsd.rules" "${pkgdir}"/usr/lib/udev/rules.d/25-gpsd-usb.rules
- install -Dm755 gpsd.hotplug "$pkgdir/usr/lib/udev/gpsd.hotplug"
+ install -Dm755 gpsd.hotplug "${pkgdir}"/usr/lib/udev/gpsd.hotplug
install -Dm644 packaging/X11/xgps.desktop \
- "${pkgdir}/usr/share/applications/xgps.desktop"
+ "${pkgdir}"/usr/share/applications/xgps.desktop
install -Dm644 packaging/X11/xgpsspeed.desktop \
- "${pkgdir}/usr/share/applications/xgpsspeed.desktop"
+ "${pkgdir}"/usr/share/applications/xgpsspeed.desktop
install -Dm644 packaging/X11/gpsd-logo.png \
- "${pkgdir}/usr/share/gpsd/gpsd-logo.png"
+ "${pkgdir}"/usr/share/gpsd/gpsd-logo.png
- install -Dm644 systemd/gpsd.service "$pkgdir/usr/lib/systemd/system/gpsd.service"
- install -Dm644 systemd/gpsd.socket "$pkgdir/usr/lib/systemd/system/gpsd.socket"
- install -Dm644 systemd/gpsdctl at .service "$pkgdir/usr/lib/systemd/system/gpsdctl at .service"
+ install -Dm644 systemd/gpsd.service "${pkgdir}"/usr/lib/systemd/system/gpsd.service
+ install -Dm644 systemd/gpsd.socket "${pkgdir}"/usr/lib/systemd/system/gpsd.socket
+ install -Dm644 systemd/gpsdctl at .service "${pkgdir}"/usr/lib/systemd/system/gpsdctl at .service
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list