1 # Contributor: Eric BĂ©langer <eric@archlinux.org>
2 # Contributor: mouse256 & AndyRTR
3 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
4 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
9 pkgdesc="A program which allows you to easily configure the extra function keys of your keyboard"
10 arch=('i686' 'x86_64')
11 url="http://keytouch.sourceforge.net/"
13 depends=('libxtst' 'gnome-menus2' 'alsa-lib' 'gtk2')
14 optdepends=('acpid: for ACPI support')
15 options=('!makeflags')
16 install=keytouch.install
17 source=(http://downloads.sourceforge.net/sourceforge/keytouch/${pkgname}-${pkgver}.tar.gz \
18 keytouch.daemon keytouch.desktop Xsession)
19 md5sums=('c3a917ae9666c9649d43d9aa09ecc96a'
20 '5bd72f347f56c0524c7a7c8f44fc9a3a'
21 'c5ffe28988dc74fae812ffe204f8883b'
22 '795430001f4fdb6691d0e93b09a241a9')
23 sha1sums=('f1f26dc95c21afd404aebe2b1066e75c8313ca80'
24 '9c3ff4fd979fd0322014768bec132ddf005c7f7b'
25 '5bac2f62f1ac26caa32da02a8075dc090d981cfb'
26 '960b2fa51cfdeb2bc3fa7e086dc9f3a3be483dff')
29 cd "${srcdir}/${pkgname}-${pkgver}"
31 ./configure --prefix=/usr --sysconfdir=/etc
36 ./configure --prefix=/usr --sysconfdir=/etc
39 cd ../keytouch-keyboard
41 ./configure --prefix=/usr --sysconfdir=/etc
46 cd "${srcdir}/${pkgname}-${pkgver}"
47 install -d "${pkgdir}"/etc/{rc.d,X11/Xsession.d}
48 install -d "${pkgdir}/usr/share/keytouch"
49 make DESTDIR="${pkgdir}" install
52 make DESTDIR="${pkgdir}" install
54 cd ../keytouch-keyboard
55 make DESTDIR="${pkgdir}" install
57 install -Dm755 "${srcdir}/keytouch.daemon" "${pkgdir}/etc/rc.d/keytouch"
58 install -Dm644 "${srcdir}/keytouch.desktop" "${pkgdir}/usr/share/applications/keytouch.desktop"
59 install -Dm755 "${srcdir}/Xsession" "${pkgdir}/etc/X11/Xsession"
60 chmod 755 "${pkgdir}"/etc/X11/Xsession.d/*
61 rm "${pkgdir}"/etc/rc.d/*.sh