[arch-commits] Commit in gpm/trunk (PKGBUILD gpm.service)
Eric Bélanger
eric at archlinux.org
Tue May 29 22:27:26 UTC 2012
Date: Tuesday, May 29, 2012 @ 18:27:26
Author: eric
Revision: 160093
upgpkg: gpm 1.20.6-8
Add systemd service file (close FS#30053)
Added:
gpm/trunk/gpm.service
Modified:
gpm/trunk/PKGBUILD
-------------+
PKGBUILD | 12 +++++++-----
gpm.service | 6 ++++++
2 files changed, 13 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-05-29 22:26:37 UTC (rev 160092)
+++ PKGBUILD 2012-05-29 22:27:26 UTC (rev 160093)
@@ -3,7 +3,7 @@
pkgname=gpm
pkgver=1.20.6
-pkgrel=7
+pkgrel=8
pkgdesc="A mouse server for the console and xterm"
arch=('i686' 'x86_64')
url="http://www.nico.schottelius.org/software/gpm/"
@@ -12,12 +12,13 @@
backup=('etc/conf.d/gpm')
options=('!makeflags')
install=gpm.install
-source=(http://www.nico.schottelius.org/software/gpm/archives/${pkgname}-${pkgver}.tar.bz2 \
- gpm gpm.conf.d gpm.sh)
-sha1sums=('f3bb9272878b7934968381c8b25edab359114150'
+source=(http://www.nico.schottelius.org/software/gpm/archives/${pkgname}-${pkgver}.tar.lzma \
+ gpm gpm.conf.d gpm.sh gpm.service)
+sha1sums=('4677da0eb2f1910a5a744bbefa08fea82e0dca0c'
'19e1feb1493373512a77801699df012d186336ea'
'4c31cb7dd51cee4d16d3f7a8956e6d87fac1ad86'
- '88fe5ff10916c68a87abc8418a56eb0073f69fa9')
+ '88fe5ff10916c68a87abc8418a56eb0073f69fa9'
+ '2db35b5f587b8dd21f9943610e7dd70469f888c7')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -31,6 +32,7 @@
install -D -m755 ../gpm "${pkgdir}/etc/rc.d/gpm"
install -D -m644 ../gpm.conf.d "${pkgdir}/etc/conf.d/gpm"
install -D -m755 ../gpm.sh "${pkgdir}/etc/profile.d/gpm.sh"
+ install -D -m644 ../gpm.service "${pkgdir}/usr/lib/systemd/system/gpm.service"
# library fixes
cd "${pkgdir}/usr/lib/"
Added: gpm.service
===================================================================
--- gpm.service (rev 0)
+++ gpm.service 2012-05-29 22:27:26 UTC (rev 160093)
@@ -0,0 +1,6 @@
+[Unit]
+Description=GPM daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/gpm
More information about the arch-commits
mailing list