summaryrefslogtreecommitdiff
path: root/community/gsynaptics/PKGBUILD
blob: 137235be108764745bed1a55e2d85ff8f02e1cb4 (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
30
31
32
33
34
35
36
# $Id: PKGBUILD 55543 2011-09-14 08:26:19Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=gsynaptics
pkgver=0.9.16
pkgrel=2
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://sourceforge.jp/frs/redir.php?m=iij&f=/${pkgname}/38463/${pkgname}-${pkgver}.tar.gz"
        do-not-set-zero.dpatch
        dot-fixes.dpatch
        build-filename.dpatch)
md5sums=('571828ddca2f1d9d6ea47e072db1959d'
         'd6308d93fd4d04c686ba24422ed99905'
         '4c35d5d0803296233d50146963a0bcbc'
         'd227a70304bef3cc0272b37c5e322463')

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  patch -p1 -i "${srcdir}"/dot-fixes.dpatch
  patch -p1 -i "${srcdir}"/do-not-set-zero.dpatch
  patch -p1 -i "${srcdir}"/build-filename.dpatch
  ./configure --prefix=/usr
  make
}

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