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

Tom Gundersen tomegun at nymeria.archlinux.org
Mon May 13 16:13:58 EDT 2013


    Date: Monday, May 13, 2013 @ 22:13:58
  Author: tomegun
Revision: 185403

upgpkg: gpsd 3.9-2

usr move

Modified:
  gpsd/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 20:12:47 UTC (rev 185402)
+++ PKGBUILD	2013-05-13 20:13:58 UTC (rev 185403)
@@ -6,7 +6,7 @@
 
 pkgname=gpsd
 pkgver=3.9
-pkgrel=1
+pkgrel=2
 pkgdesc="GPS daemon and library to support USB/serial GPS devices"
 arch=('i686' 'x86_64')
 url="http://catb.org/gpsd/"
@@ -73,6 +73,11 @@
   install -D -m644 systemd/gpsd.socket "${pkgdir}/usr/lib/systemd/system/gpsd.socket"
 
   install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  # move to /usr/bin
+  sed -i -e 's,/usr/sbin,/usr/bin,g' "${pkgdir}/usr/lib/systemd/system/gpsd.service"
+  mv "${pkgdir}/usr/sbin/"* "${pkgdir}/usr/bin/"
+  rm -r "${pkgdir}/usr/sbin"
 }
 md5sums=('53a88f24a0973d23427e82e9a8914f19'
          'SKIP'



More information about the arch-commits mailing list