[arch-commits] Commit in gpm/trunk (PKGBUILD gpm gpm.conf.d)

Eric Bélanger eric at nymeria.archlinux.org
Sat Apr 13 07:15:17 UTC 2013


    Date: Saturday, April 13, 2013 @ 09:15:17
  Author: eric
Revision: 182708

upgpkg: gpm 1.20.7-2

Remove initscripts support

Modified:
  gpm/trunk/PKGBUILD
Deleted:
  gpm/trunk/gpm
  gpm/trunk/gpm.conf.d

------------+
 PKGBUILD   |    9 ++-------
 gpm        |   41 -----------------------------------------
 gpm.conf.d |    4 ----
 3 files changed, 2 insertions(+), 52 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-13 06:15:12 UTC (rev 182707)
+++ PKGBUILD	2013-04-13 07:15:17 UTC (rev 182708)
@@ -3,20 +3,17 @@
 
 pkgname=gpm
 pkgver=1.20.7
-pkgrel=1
+pkgrel=2
 pkgdesc="A mouse server for the console and xterm"
 arch=('i686' 'x86_64')
 url="http://www.nico.schottelius.org/software/gpm/"
 license=('GPL')
 depends=('ncurses' 'bash')
-backup=('etc/conf.d/gpm')
 options=('!makeflags')
 install=gpm.install
 source=(http://www.nico.schottelius.org/software/gpm/archives/${pkgname}-${pkgver}.tar.lzma \
-        gpm gpm.conf.d gpm.sh gpm.service)
+        gpm.sh gpm.service)
 sha1sums=('8d9f3655c80ce7667d31ede2a100b44986480369'
-          '19e1feb1493373512a77801699df012d186336ea'
-          '4c31cb7dd51cee4d16d3f7a8956e6d87fac1ad86'
           '88fe5ff10916c68a87abc8418a56eb0073f69fa9'
           '20b92360f0ad38a2032fcae37bdbd01b31e43f77')
 
@@ -30,8 +27,6 @@
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
-  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"
 

Deleted: gpm
===================================================================
--- gpm	2013-04-13 06:15:12 UTC (rev 182707)
+++ gpm	2013-04-13 07:15:17 UTC (rev 182708)
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-# source application-specific settings
-GPM_ARGS=
-[ -f /etc/conf.d/gpm ] && . /etc/conf.d/gpm
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=$(pidof -o %PPID /usr/sbin/gpm)
-case "$1" in
-  start)
-    stat_busy "Starting GPM Daemon"
-    [ -z "$PID" ] && /usr/sbin/gpm ${GPM_ARGS}
-    PID=$(pidof -o %PPID /usr/sbin/gpm)
-    if [ -z "$PID" ]; then
-      stat_fail
-    else
-      add_daemon gpm
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping GPM Daemon"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon gpm
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"  
-esac
-exit 0

Deleted: gpm.conf.d
===================================================================
--- gpm.conf.d	2013-04-13 06:15:12 UTC (rev 182707)
+++ gpm.conf.d	2013-04-13 07:15:17 UTC (rev 182708)
@@ -1,4 +0,0 @@
-#
-# Parameters to be passed to gpm
-#
-GPM_ARGS="-m /dev/input/mice -t imps2"




More information about the arch-commits mailing list