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

Andrea Scarpino andrea at archlinux.org
Fri Nov 5 07:15:07 UTC 2010


    Date: Friday, November 5, 2010 @ 03:15:06
  Author: andrea
Revision: 98235

install desktop files and man pages; move the udev rule to /lib/udev/rules.d/

Modified:
  gpsd/trunk/PKGBUILD
  gpsd/trunk/gpsd.install

--------------+
 PKGBUILD     |   12 ++++++++----
 gpsd.install |    8 ++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-05 06:15:08 UTC (rev 98234)
+++ PKGBUILD	2010-11-05 07:15:06 UTC (rev 98235)
@@ -6,7 +6,7 @@
 
 pkgname=gpsd
 pkgver=2.95
-pkgrel=5
+pkgrel=6
 pkgdesc="GPS daemon and library to support USB/serial GPS devices"
 arch=('i686' 'x86_64')
 url="http://gpsd.berlios.de"
@@ -14,8 +14,8 @@
 depends=('lesstif' 'libxaw' 'python2' 'pth' 'libusb1' 'qt')
 optdepends=('php: generate a PHP status page for your GPS'
             'php-gd: image support for the PHP status page')
-backup=('etc/conf.d/gpsd'
-        'etc/udev/rules.d/99-gpsd-usb.rules')
+makedepends=('docbook-xsl')
+backup=('etc/conf.d/gpsd' 'etc/udev/rules.d/99-gpsd-usb.rules' 'lib/udev/rules.d/99-gpsd-usb.rules')
 options=('!libtool')
 install="${pkgname}.install"
 source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.gz"
@@ -52,7 +52,7 @@
   install -D -m644 "packaging/deb/etc_default_gpsd" "${pkgdir}/etc/conf.d/gpsd"
 
   sed -i 's|Id: gpsd.rules|Id: 99-gpsd-usb.rules|' gpsd.rules
-  install -D -m644 "gpsd.rules" "${pkgdir}/etc/udev/rules.d/99-gpsd-usb.rules"
+  install -D -m644 "gpsd.rules" "${pkgdir}/lib/udev/rules.d/99-gpsd-usb.rules"
 
   sed -i 's|/etc/default/gpsd|/etc/conf.d/gpsd|' gpsd.hotplug.wrapper
   install -D -m755 gpsd.hotplug.wrapper "${pkgdir}/lib/udev/gpsd.hotplug.wrapper"
@@ -61,6 +61,10 @@
   sed -i 's|gpsdcmd = "gpsd %s|gpsdcmd = "/usr/sbin/gpsd %s|' gpsd.hotplug
   install -D -m755 gpsd.hotplug "${pkgdir}/lib/udev/gpsd.hotplug"
 
+  install -D -m644 packaging/X11/xgps.desktop ${pkgdir}/usr/share/applications/xgps.desktop
+  install -D -m644 packaging/X11/xgpsspeed.desktop ${pkgdir}/usr/share/applications/xgpsspeed.desktop
+  install -D -m644 packaging/X11/gpsd-logo.png ${pkgdir}/usr/share/gpsd/gpsd-logo.png
+
   install -D -m755 "${srcdir}/gpsd" "$pkgdir/etc/rc.d/gpsd"
 
   install -D -m644 "${srcdir}/LICENSE" ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE

Modified: gpsd.install
===================================================================
--- gpsd.install	2010-11-05 06:15:08 UTC (rev 98234)
+++ gpsd.install	2010-11-05 07:15:06 UTC (rev 98235)
@@ -1,6 +1,6 @@
 post_install() {
-    echo ">>>Note: the supplied gpsd udev rules are device-specific, so"
-    echo ">>>if your device isn't detected correctly, please use lsusb or"
-    echo ">>>another suitable tool to determine the proper device IDs and"
-    echo ">>>use the commented rules to fill in the blanks for your device."
+    echo ">>> Note: the supplied gpsd udev rules are device-specific, so"
+    echo ">>> if your device isn't detected correctly, please use lsusb or"
+    echo ">>> another suitable tool to determine the proper device IDs and"
+    echo ">>> use the commented rules to fill in the blanks for your device."
 }




More information about the arch-commits mailing list