blob: 54b3af0232d16f11ea547a2e57da600d305a9300 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
pkgname=inputattach
pkgver=1.24
pkgrel=2
pkgdesc="Attach serial mice, keyboards and other input devices to the kernel input system"
arch=('i686' 'x86_64')
url="http://linuxconsole.sourceforge.net/"
license=('GPL')
depends=('glibc' 'bash')
makedepends=('gcc')
backup=(etc/conf.d/inputattach.conf)
install=inputattach.install
source=('http://kernel.org/pub/linux/kernel/people/dtor/inputattach.c'
'http://kernel.org/pub/linux/kernel/people/dtor/serio-ids.h'
'inputattach.conf.d'
'inputattach.rc.d')
md5sums=('eb595a766ca363edb3b14c25404596ce'
'93d34d96cd3ad19ea1aeca7f68a66b4a'
'ca36071f8384314c037e1e8b15c63afe'
'd484778b0464e25b22cda89ac7fed156')
build() {
cc $CFLAGS inputattach.c -o inputattach || return 1
install -D -m755 inputattach $startdir/pkg/usr/sbin/inputattach && \
install -D -m644 $startdir/src/inputattach.conf.d \
$startdir/pkg/etc/conf.d/inputattach.conf && \
install -D -m755 $startdir/src/inputattach.rc.d \
$startdir/pkg/etc/rc.d/inputattach
}
|