This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

lineakd PKGBUILD

By: a guest on Jan 26th, 2011  |  syntax: Bash  |  size: 1.31 KB  |  views: 136  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # $Id: PKGBUILD,v 1.10 2007/09/21 04:35:20 eric Exp $
  2. # Maintainer: p2k <Patrick.Schneider@uni-ulm.de>
  3. # Contributor: Abakus <java5@arcor.de>
  4. pkgname=lineakd
  5. pkgver=0.9
  6. pkgrel=4
  7. pkgdesc="Linux Support for Easy Access and Internet Keyboards"
  8. arch=('i686' 'x86_64')
  9. url="http://lineak.sourceforge.net/"
  10. license=('GPL')
  11. depends=('gcc-libs' 'libxext' 'libsm' 'libxtst')
  12. backup=('etc/lineakkb.def')
  13. options=('!libtool' '!makeflags')
  14. source=(http://prdownloads.sourceforge.net/sourceforge/lineak/$pkgname-$pkgver.tar.gz
  15.         http://archive.ubuntu.com/ubuntu/pool/universe/l/lineakd/lineakd_0.9-6.diff.gz
  16.         lineakd)
  17.  
  18. build() {
  19.     cd $srcdir/$pkgname-$pkgver
  20.     patch -Np1 -i ../lineakd_0.9-6.diff
  21.     for _patch in $( cat $srcdir/$pkgname-$pkgver/debian/patches/series ) ; do
  22.                 patch -Np1 -i $srcdir/$pkgname-$pkgver/debian/patches/${_patch}
  23.         done
  24.         cp ./admin/acinclude.m4.in ./acinclude.m4
  25.         cat ./admin/lineak.m4.in >> ./acinclude.m4
  26.         mkdir ./m4
  27.         autoreconf -fvi
  28.     ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/man --enable-evtest
  29.     make || return 1
  30.     make DESTDIR=$pkgdir install
  31.     install -D -m755 $srcdir/lineakd $startdir/pkg/etc/rc.d/lineakd
  32. }
  33. md5sums=('8a45672a6cea666873398ecc36a5070c'
  34.          '1d8f877167aa06a1a40d87846f4721b5'
  35.          'e767f71a449aa898ade42271419b0406')
clone this paste RAW Paste Data