From 28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 15 Nov 2011 14:34:01 +0000 Subject: Tue Nov 15 14:33:58 UTC 2011 --- testing/gpm/PKGBUILD | 39 --------------------------------------- testing/gpm/gpm | 41 ----------------------------------------- testing/gpm/gpm.conf.d | 4 ---- testing/gpm/gpm.install | 16 ---------------- testing/gpm/gpm.sh | 3 --- 5 files changed, 103 deletions(-) delete mode 100644 testing/gpm/PKGBUILD delete mode 100755 testing/gpm/gpm delete mode 100644 testing/gpm/gpm.conf.d delete mode 100644 testing/gpm/gpm.install delete mode 100755 testing/gpm/gpm.sh (limited to 'testing/gpm') diff --git a/testing/gpm/PKGBUILD b/testing/gpm/PKGBUILD deleted file mode 100644 index fe96eba1b..000000000 --- a/testing/gpm/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# $Id: PKGBUILD 141901 2011-11-03 00:10:37Z eric $ -# Maintainer: Eric BĂ©langer - -pkgname=gpm -pkgver=1.20.6 -pkgrel=7 -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.bz2 \ - gpm gpm.conf.d gpm.sh) -sha1sums=('f3bb9272878b7934968381c8b25edab359114150' - '19e1feb1493373512a77801699df012d186336ea' - '4c31cb7dd51cee4d16d3f7a8956e6d87fac1ad86' - '88fe5ff10916c68a87abc8418a56eb0073f69fa9') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --sysconfdir=/etc - make -} - -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" - -# library fixes - cd "${pkgdir}/usr/lib/" - ln -s libgpm.so.2.* libgpm.so - chmod 755 "${pkgdir}"/usr/lib/libgpm.so.* -} diff --git a/testing/gpm/gpm b/testing/gpm/gpm deleted file mode 100755 index 7b5213dd7..000000000 --- a/testing/gpm/gpm +++ /dev/null @@ -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 diff --git a/testing/gpm/gpm.conf.d b/testing/gpm/gpm.conf.d deleted file mode 100644 index ab43bb7eb..000000000 --- a/testing/gpm/gpm.conf.d +++ /dev/null @@ -1,4 +0,0 @@ -# -# Parameters to be passed to gpm -# -GPM_ARGS="-m /dev/input/mice -t imps2" diff --git a/testing/gpm/gpm.install b/testing/gpm/gpm.install deleted file mode 100644 index 2a1519a6c..000000000 --- a/testing/gpm/gpm.install +++ /dev/null @@ -1,16 +0,0 @@ -infodir=/usr/share/info -file=gpm.info.gz - -post_install() { - [ -x usr/bin/install-info ] || return 0 - install-info $infodir/$file $infodir/dir 2> /dev/null -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - install-info --delete $infodir/$file $infodir/dir 2> /dev/null -} diff --git a/testing/gpm/gpm.sh b/testing/gpm/gpm.sh deleted file mode 100755 index af35a5f33..000000000 --- a/testing/gpm/gpm.sh +++ /dev/null @@ -1,3 +0,0 @@ -case $( /usr/bin/tty ) in - /dev/tty[0-9]*) [ -n "$(pgrep gpm)" ] && /usr/bin/disable-paste ;; -esac -- cgit v1.2.3-54-g00ecf