summaryrefslogtreecommitdiff
path: root/community/libsynaptics/PKGBUILD
blob: 0185453a69698cf61555483e692dcc9d83b95671 (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
27
28
29
# $Id: PKGBUILD 100241 2013-11-02 08:40:55Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>

pkgname=libsynaptics
pkgver=0.14.6c
pkgrel=6
pkgdesc="Library for accessing synaptics touchpads"
arch=('i686' 'x86_64' 'mips64el')
url="http://qsynaptics.sourceforge.net"
license=('GPL')
depends=('gcc-libs')
makedepends=('xproto')
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
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}