summaryrefslogtreecommitdiff
path: root/community/inputattach
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-23 23:15:26 +0000
committerroot <root@rshg054.dnsready.net>2011-11-23 23:15:26 +0000
commit1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (patch)
tree070846cb6770ab17d394d88c3f0cd3ad3eb89842 /community/inputattach
parent851ab9aa99e9bda38f88b5f5ade096c9137e11c8 (diff)
Wed Nov 23 23:15:26 UTC 2011
Diffstat (limited to 'community/inputattach')
-rw-r--r--community/inputattach/PKGBUILD28
1 files changed, 12 insertions, 16 deletions
diff --git a/community/inputattach/PKGBUILD b/community/inputattach/PKGBUILD
index 0e6211808..b8eb90516 100644
--- a/community/inputattach/PKGBUILD
+++ b/community/inputattach/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 48320 2011-05-31 10:23:41Z spupykin $
+# $Id: PKGBUILD 59224 2011-11-21 15:24:13Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
@@ -13,10 +13,14 @@ depends=('bash')
makedepends=('gcc')
backup=(etc/conf.d/inputattach)
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'
- '0001-Add-w8001-flag.patch' '0002-Allow-for-custom-baud-rates.patch')
+#source=('http://kernel.org/pub/linux/kernel/people/dtor/inputattach.c'
+# 'http://kernel.org/pub/linux/kernel/people/dtor/serio-ids.h'
+source=('http://arch.p5n.pp.ru/~sergej/dl/2011/inputattach.c'
+ 'http://arch.p5n.pp.ru/~sergej/dl/2011/serio-ids.h'
+ 'inputattach.conf.d'
+ 'inputattach.rc.d'
+ '0001-Add-w8001-flag.patch'
+ '0002-Allow-for-custom-baud-rates.patch')
md5sums=('eb595a766ca363edb3b14c25404596ce'
'93d34d96cd3ad19ea1aeca7f68a66b4a'
'7ca903e54829764c8241233af5069216'
@@ -26,23 +30,15 @@ md5sums=('eb595a766ca363edb3b14c25404596ce'
build() {
cd "$srcdir"
-
# Add support for serial wacom tablets
patch -Np1 -i "$srcdir/0001-Add-w8001-flag.patch"
patch -Np1 -i "$srcdir/0002-Allow-for-custom-baud-rates.patch"
-
cc $CFLAGS inputattach.c -o inputattach
}
package() {
cd "$srcdir"
-
- install -Dm755 inputattach \
- "$pkgdir/usr/sbin/inputattach"
-
- install -Dm644 $srcdir/inputattach.conf.d \
- "$pkgdir/etc/conf.d/inputattach"
-
- install -Dm755 $srcdir/inputattach.rc.d \
- "$pkgdir/etc/rc.d/inputattach"
+ install -Dm755 inputattach "$pkgdir/usr/sbin/inputattach"
+ install -Dm644 $srcdir/inputattach.conf.d "$pkgdir/etc/conf.d/inputattach"
+ install -Dm755 $srcdir/inputattach.rc.d "$pkgdir/etc/rc.d/inputattach"
}