mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
31 lines
1 KiB
Bash
31 lines
1 KiB
Bash
# Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
|
|
|
|
pkgname=inputattach
|
|
pkgver=1.24
|
|
pkgrel=1
|
|
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')
|
|
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
|
|
}
|