summaryrefslogtreecommitdiff
path: root/extra/gpsd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-17 01:53:16 -0700
committerroot <root@rshg054.dnsready.net>2013-05-17 01:53:16 -0700
commitb5f4c940227b9a7051c381688636d59f67864f93 (patch)
tree99d9cd904411e9aad2ea12662db7d3eb8c786085 /extra/gpsd
parent453f3b8b2c568e9babcdc4852772278a39f130c0 (diff)
Fri May 17 01:52:35 PDT 2013
Diffstat (limited to 'extra/gpsd')
-rw-r--r--extra/gpsd/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/gpsd/PKGBUILD b/extra/gpsd/PKGBUILD
index f48b083b5..719906d43 100644
--- a/extra/gpsd/PKGBUILD
+++ b/extra/gpsd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 184760 2013-05-07 23:25:13Z tomegun $
+# $Id: PKGBUILD 185608 2013-05-15 22:56:58Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
@@ -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 @@ package() {
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'