summaryrefslogtreecommitdiff
path: root/community/libsynaptics/PKGBUILD
blob: 33a07cf8ce7f776ccfd2e06bcc9622ea8b7fb174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 66206 2012-02-23 03:20:15Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>

pkgname=libsynaptics
pkgver=0.14.6c
pkgrel=5
pkgdesc="Library for accessing synaptics touchpads"
arch=('i686' 'x86_64' 'mips64el')
url="http://qsynaptics.sourceforge.net"
license=('GPL')
depends=('gcc-libs')
makedepends=('xproto')
options=('!libtool')
source=(http://qsynaptics.sourceforge.net/$pkgname-$pkgver.tar.bz2 libsynaptics-gcc433.patch)
md5sums=('fedf8b31171d288954ff2e83b251de44'
         '5e1df34fe8c2480b803a8ea6520bdda8')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -Np0 -i ../libsynaptics-gcc433.patch
  sed -i '1,1i#include <stdio.h>' pad.cpp
  ./configure --prefix=/usr
  make
  make DESTDIR=$pkgdir install
}