summaryrefslogtreecommitdiff
path: root/community/esekeyd
diff options
context:
space:
mode:
Diffstat (limited to 'community/esekeyd')
-rw-r--r--community/esekeyd/PKGBUILD34
-rw-r--r--community/esekeyd/esekeyd.conf31
-rw-r--r--community/esekeyd/esekeyd.confd4
-rw-r--r--community/esekeyd/esekeyd.rc51
4 files changed, 0 insertions, 120 deletions
diff --git a/community/esekeyd/PKGBUILD b/community/esekeyd/PKGBUILD
deleted file mode 100644
index d3d8520a9..000000000
--- a/community/esekeyd/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 65669 2012-02-21 20:29:52Z cbrannon $
-# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
-# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
-# Contributor: Evgenij Vdovin <evdovin@pochta.ru>
-
-pkgname=esekeyd
-pkgver=1.2.7
-pkgrel=2
-pkgdesc="Multimedia keyboard driver for Linux"
-arch=('i686' 'x86_64')
-url="http://freshmeat.net/projects/esekeyd/"
-license=('GPL')
-depends=('glibc' 'sh')
-source=(http://www.burghardt.pl/files/$pkgname-$pkgver.tar.gz
- esekeyd.rc esekeyd.confd esekeyd.conf)
-backup=('etc/conf.d/esekeyd' 'etc/esekeyd.conf')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -D -m755 "$srcdir/esekeyd.rc" "$pkgdir/etc/rc.d/esekeyd"
- install -D -m644 "$srcdir/esekeyd.confd" "$pkgdir/etc/conf.d/esekeyd"
- install -D -m644 "$srcdir/esekeyd.conf" "$pkgdir/etc/esekeyd.conf"
-}
-md5sums=('5937ad6d7815dbc6ab6983411a9f37d4'
- '1c1b954265ad29de010b1dd750350ed2'
- '5edf18376549251daacd49ae136ba984'
- 'f16c1aefe84214856f3a7e49a1a866f3')
diff --git a/community/esekeyd/esekeyd.conf b/community/esekeyd/esekeyd.conf
deleted file mode 100644
index c391a9670..000000000
--- a/community/esekeyd/esekeyd.conf
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# ESE Key Deamon 1.2.1 config file
-#
-
-# Note: esekeyd runs all commands as root!
-# In order to run commands as user you should call them this way:
-#CALC:su -l username -c "/bin/bash -l -c 'DISPLAY=:0 gcalctool &'"
-#
-# Note that it is impossible to use xdg-utils and some Gnome/KDE applications
-# because some vital environment variables are set after desktop session start,
-# so shell session started via su won't have them
-
-#BACK:
-#FORWARD:
-#STOP:
-#REFRESH:
-#SEARCH:
-#BOOKMARKS:/bin/sh -c "DISPLAY=:0 xterm &"
-#WWW:
-#MAIL:
-#PREVIOUSSONG:mpc prev &
-#STOPCD:mpc stop &
-#PLAYPAUSE:mpc toggle &
-#NEXTSONG:mpc next &
-#VOLUMEDOWN:amixer set Master 5%- &
-#VOLUMEUP:amixer set Master 5%+ &
-#MUTE:amixer set Master toggle &
-#MEDIA:mpc update &
-#COMPUTER:
-#CALC:/bin/sh -c "DISPLAY=:0 xcalc &"
-#SLEEP:/bin/sh -c "DISPLAY=:0 xset dpms force standby &"
diff --git a/community/esekeyd/esekeyd.confd b/community/esekeyd/esekeyd.confd
deleted file mode 100644
index 1fd9a0940..000000000
--- a/community/esekeyd/esekeyd.confd
+++ /dev/null
@@ -1,4 +0,0 @@
-CONFIG=/etc/esekeyd.conf
-# set input device manually if it cannot be autodetected
-# DEVICE=/dev/input/event1
-KEYCODES=('e00e:148' 'e00c:149')
diff --git a/community/esekeyd/esekeyd.rc b/community/esekeyd/esekeyd.rc
deleted file mode 100644
index 67dd42265..000000000
--- a/community/esekeyd/esekeyd.rc
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-#
-# Start/stop/restart the key daemon.
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-keystune(){
- for keycode in "${KEYCODES[@]}"; do
- key=`echo $keycode | cut -d: -f1`
- code=`echo $keycode | cut -d: -f2`
- setkeycodes $key $code
- done
-}
-
-# source application-specific settings
-CONFIG=
-KEYCODES=
-DEVICE=
-[ -f /etc/conf.d/esekeyd ] && . /etc/conf.d/esekeyd
-
-PID=`pidof -o %PPID /usr/sbin/esekeyd`
-case "$1" in
- start)
- stat_busy "Starting esekeyd"
- [ "$KEYCODES" ] && keystune
- [ -z "$PID" ] && /usr/sbin/esekeyd $CONFIG $DEVICE &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon esekeyd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping esekeyd"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon esekeyd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0