From 1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef Mon Sep 17 00:00:00 2001 From: root Date: Wed, 23 Nov 2011 23:15:26 +0000 Subject: Wed Nov 23 23:15:26 UTC 2011 --- community/inputattach/PKGBUILD | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'community/inputattach') 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 # Contributor: Mark Smith @@ -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" } -- cgit v1.2.3-54-g00ecf