[arch-commits] Commit in gpsd/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Jan 9 09:54:08 UTC 2021


    Date: Saturday, January 9, 2021 @ 09:54:08
  Author: arojas
Revision: 815282

Update to 3.22

Modified:
  gpsd/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++-------------------
 1 file changed, 9 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-09 09:53:42 UTC (rev 815281)
+++ PKGBUILD	2021-01-09 09:54:08 UTC (rev 815282)
@@ -5,8 +5,8 @@
 # Contributor: Giacomo Rizzo <alt at free-os.it>
 
 pkgname=gpsd
-pkgver=3.21
-pkgrel=3
+pkgver=3.22
+pkgrel=1
 pkgdesc="GPS daemon and library to support USB/serial GPS devices"
 arch=('x86_64')
 url="http://catb.org/gpsd/"
@@ -21,9 +21,9 @@
             'qt5-base: for Qgpsmm')
 makedepends=('scons' 'docbook-xsl' 'qt5-base' 'python-gobject' 'python-cairo' 'python-pyserial' 'gtk3')
 backup=('etc/default/gpsd')
-source=(https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz{,.sig}
+source=(https://download-mirror.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz{,.sig}
         $pkgname.conf)
-sha256sums=('65504c3af8d3b0cce3c07405b8815d7730d2d2be2da7d28d275f1a9c57c6fe91'
+sha256sums=('783fdf2a5f78a593230c7bfa8b409956545765563224c6c56ad69cc6c2a637a3'
             'SKIP'
             'dcfa71c4c730b486269995468bdcfa8e96bf3c282db1dadea9384d32015d277f')
 validpgpkeys=('EED4A0893DCC705DB309E202CCF29C7238522905') # Gary E. Miller <gem at rellim.com>
@@ -46,30 +46,20 @@
 package() {
   cd $pkgname-$pkgver
 
-  # Fix path in systemd files
-  sed -i 's|local/sbin|bin|' systemd/{gpsd.service,gpsdctl at .service}
-
   export DESTDIR="${pkgdir}"
   scons install
   install -Dm755 gpsinit -t "${pkgdir}"/usr/bin
-  chmod 755 "${pkgdir}"/usr/bin/*
 
   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-$pkgver/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 -t "${pkgdir}"/usr/lib/udev/
 
-  install -Dm644 packaging/X11/xgps.desktop \
-    "${pkgdir}"/usr/share/applications/xgps.desktop
-  install -Dm644 packaging/X11/xgpsspeed.desktop \
-    "${pkgdir}"/usr/share/applications/xgpsspeed.desktop
-  install -Dm644 packaging/X11/gpsd-logo.png \
-    "${pkgdir}"/usr/share/gpsd/gpsd-logo.png
+  install -Dm644 packaging/X11/*.desktop -t "${pkgdir}"/usr/share/applications/
+  install -Dm644 packaging/X11/gpsd-logo.png -t "${pkgdir}"/usr/share/gpsd/
 
-  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 gpsd-$pkgver/systemd/{gpsd.service,gpsd.socket,gpsdctl at .service} -t "${pkgdir}"/usr/lib/systemd/system/
 
   install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list