# $Id: PKGBUILD 246 2009-07-21 09:51:22Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: William Rea pkgname=gsynaptics pkgver=0.9.16 pkgrel=1 pkgdesc="A settings tool for Synaptics touchpad driver" arch=(i686 x86_64) url="http://gsynaptics.sourceforge.jp" license=("GPL") depends=('libgnomeui' 'synaptics') makedepends=('intltool' 'gettext' 'gnome-doc-utils') install=$pkgname.install source=(http://globalbase.dl.sourceforge.jp/gsynaptics/38463/gsynaptics-$pkgver.tar.gz \ do-not-set-zero.dpatch \ dot-fixes.dpatch \ build-filename.dpatch) md5sums=('571828ddca2f1d9d6ea47e072db1959d' 'd6308d93fd4d04c686ba24422ed99905' '4c35d5d0803296233d50146963a0bcbc' '11011a651f143103614fb69dd5aa77a1') build() { cd $startdir/src/gsynaptics-$pkgver patch -p1 <$srcdir/dot-fixes.dpatch patch -p1 <$srcdir/do-not-set-zero.dpatch patch -p1 <$srcdir/build-filename.dpatch ./configure --prefix=/usr make || return 1 make DESTDIR=$startdir/pkg install }