diff options
Diffstat (limited to 'extra/gpsd/PKGBUILD')
-rw-r--r-- | extra/gpsd/PKGBUILD | 9 |
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' |