diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-10-17 14:16:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-10-17 14:16:38 +0000 |
commit | e1b3d592f43a99f4ed7c91971deda6ce8414dd69 (patch) | |
tree | 38fecdc19b201d4d28df13c22e9b3b45bb469e4b /extra/keytouch | |
parent | d286d980d2ff42151e9bc81ec348c864c24f9cc4 (diff) |
Mon Oct 17 14:16:38 UTC 2011
Diffstat (limited to 'extra/keytouch')
-rw-r--r-- | extra/keytouch/PKGBUILD | 59 | ||||
-rwxr-xr-x | extra/keytouch/Xsession | 8 | ||||
-rwxr-xr-x | extra/keytouch/keytouch.daemon | 38 | ||||
-rw-r--r-- | extra/keytouch/keytouch.desktop | 9 | ||||
-rw-r--r-- | extra/keytouch/keytouch.install | 14 |
5 files changed, 0 insertions, 128 deletions
diff --git a/extra/keytouch/PKGBUILD b/extra/keytouch/PKGBUILD deleted file mode 100644 index bfc3d182f..000000000 --- a/extra/keytouch/PKGBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# $Id: PKGBUILD 128421 2011-06-23 23:07:34Z eric $ -# Contributor: Eric BĂ©langer <eric@archlinux.org> -# Contributor: mouse256 & AndyRTR -# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> - -pkgname=keytouch -pkgver=2.4.1 -pkgrel=3 -pkgdesc="A program which allows you to easily configure the extra function keys of your keyboard" -arch=('i686' 'x86_64') -url="http://keytouch.sourceforge.net/" -license=('GPL') -depends=('libxtst' 'gnome-menus' 'alsa-lib' 'gtk2') -optdepends=('acpid: for ACPI support') -options=('!makeflags') -install=keytouch.install -source=(http://downloads.sourceforge.net/sourceforge/keytouch/${pkgname}-${pkgver}.tar.gz \ - keytouch.daemon keytouch.desktop Xsession) -md5sums=('c3a917ae9666c9649d43d9aa09ecc96a' - '5bd72f347f56c0524c7a7c8f44fc9a3a' - 'c5ffe28988dc74fae812ffe204f8883b' - '795430001f4fdb6691d0e93b09a241a9') -sha1sums=('f1f26dc95c21afd404aebe2b1066e75c8313ca80' - '9c3ff4fd979fd0322014768bec132ddf005c7f7b' - '5bac2f62f1ac26caa32da02a8075dc090d981cfb' - '960b2fa51cfdeb2bc3fa7e086dc9f3a3be483dff') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --sysconfdir=/etc - make - - cd keytouch-config - ./configure --prefix=/usr --sysconfdir=/etc - make - - cd ../keytouch-keyboard - ./configure --prefix=/usr --sysconfdir=/etc - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - install -d "${pkgdir}"/etc/{rc.d,X11/Xsession.d} - install -d "${pkgdir}/usr/share/keytouch" - make DESTDIR="${pkgdir}" install - - cd keytouch-config - make DESTDIR="${pkgdir}" install - - cd ../keytouch-keyboard - make DESTDIR="${pkgdir}" install - - install -Dm755 "${srcdir}/keytouch.daemon" "${pkgdir}/etc/rc.d/keytouch" - install -Dm644 "${srcdir}/keytouch.desktop" "${pkgdir}/usr/share/applications/keytouch.desktop" - install -Dm755 "${srcdir}/Xsession" "${pkgdir}/etc/X11/Xsession" - chmod 755 "${pkgdir}"/etc/X11/Xsession.d/* - rm "${pkgdir}"/etc/rc.d/*.sh -} diff --git a/extra/keytouch/Xsession b/extra/keytouch/Xsession deleted file mode 100755 index 0da89f9aa..000000000 --- a/extra/keytouch/Xsession +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -for script in /etc/X11/Xsession.d/*; do - if [ -x $script ]; then - . $script - fi -done -unset script diff --git a/extra/keytouch/keytouch.daemon b/extra/keytouch/keytouch.daemon deleted file mode 100755 index d705b3dfc..000000000 --- a/extra/keytouch/keytouch.daemon +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=$(pidof -o %PPID /usr/bin/keytouch-acpid) -case "$1" in - start) - stat_busy "Starting keyTouch Daemon" - /usr/bin/keytouch-init - if [ -z "$PID" ]; then - /usr/bin/keytouch-acpid &> /dev/null & - fi - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon keytouch - stat_done - fi - ;; - stop) - stat_busy "Stopping keyTouch Daemon" - [ ! -z "$PID" ] && kill $PID &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon keytouch - stat_done - fi - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/extra/keytouch/keytouch.desktop b/extra/keytouch/keytouch.desktop deleted file mode 100644 index f127b1041..000000000 --- a/extra/keytouch/keytouch.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=keyTouch -Comment=Keyboard configuration tool -Icon=/usr/share/keytouch/pixmaps/icon.png -Exec=/usr/bin/keytouch -Terminal=false -Type=Application -Categories=Application;Utility -StartupNotify=false diff --git a/extra/keytouch/keytouch.install b/extra/keytouch/keytouch.install deleted file mode 100644 index c3b9c9cec..000000000 --- a/extra/keytouch/keytouch.install +++ /dev/null @@ -1,14 +0,0 @@ -post_install() { - cat << EOF -==> To use keytouch: -o Add keytouch to your DAEMONS line in /etc/rc.conf -o Add: - /etc/X11/Xsession -to your ~/.xinitrc -o You'll need to have either gksu (pacman -S gksu) or kdesu (pacman -S kdebase) installed. - -==> If your keyboard is not supported "out of the box": -o Go to http://keytouch.sourceforge.net/dl-keyboards.html to see if your keyboard has been added - or install keytouch-editor to make your custom keyboard file. -EOF -} |