updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / lineakd / PKGBUILD
blobd2b9b0cca7d3973270f7d174bcf5e603cd240286
1 # $Id: PKGBUILD,v 1.10 2007/09/21 04:35:20 eric Exp $
2 # Contributor: p2k <Patrick.Schneider@uni-ulm.de>
3 # Contributor: twa022 <twa022@gmail.com>
4 # Contributor: Abakus <java5@arcor.de>
5 pkgname=lineakd
6 pkgver=0.9
7 pkgrel=5
8 pkgdesc="Linux Support for Easy Access and Internet Keyboards"
9 arch=('i686' 'x86_64')
10 url="http://lineak.sourceforge.net/"
11 license=('GPL')
12 depends=('gcc-libs' 'libxext' 'libsm' 'libxtst')
13 backup=('etc/lineakkb.def')
14 options=('!libtool' '!makeflags')
15 source=(http://prdownloads.sourceforge.net/sourceforge/lineak/$pkgname-$pkgver.tar.gz
16         http://archive.ubuntu.com/ubuntu/pool/universe/l/lineakd/lineakd_0.9-6.diff.gz
17         lineakd)
19 build() {
20     cd $srcdir/$pkgname-$pkgver
21     patch -Np1 -i ../lineakd_0.9-6.diff
22     for _patch in $( cat $srcdir/$pkgname-$pkgver/debian/patches/series ) ; do
23                 patch -Np1 -i $srcdir/$pkgname-$pkgver/debian/patches/${_patch}
24         done
25         cp ./admin/acinclude.m4.in ./acinclude.m4
26         cat ./admin/lineak.m4.in >> ./acinclude.m4
27         mkdir ./m4
28         autoreconf -fvi
29     ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/man --enable-evtest
30     make || return 1
31     make DESTDIR=$pkgdir install
32     install -D -m755 $srcdir/lineakd $startdir/pkg/etc/rc.d/lineakd
34 md5sums=('8a45672a6cea666873398ecc36a5070c'
35          '1d8f877167aa06a1a40d87846f4721b5'
36          'e767f71a449aa898ade42271419b0406')