summaryrefslogtreecommitdiff
path: root/community/libsynaptics/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libsynaptics/PKGBUILD')
-rw-r--r--community/libsynaptics/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/libsynaptics/PKGBUILD b/community/libsynaptics/PKGBUILD
new file mode 100644
index 000000000..69966e5f2
--- /dev/null
+++ b/community/libsynaptics/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 21469 2010-07-16 12:30:12Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=libsynaptics
+pkgver=0.14.6c
+pkgrel=4
+pkgdesc="Library for accessing synaptics touchpads"
+arch=('i686' 'x86_64')
+url="http://qsynaptics.sourceforge.net"
+license=('GPL')
+depends=('gcc-libs')
+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 || return 1
+ make DESTDIR=$pkgdir install
+}