# $Id: PKGBUILD 150719 2012-02-21 06:47:20Z andyrtr $ # Maintainer: Jan de Groot # Contributor: Tobias Powalowski # Contributor: Thomas Bächler # Contributor: Alexander Baldeck pkgname=xf86-input-synaptics pkgver=1.5.99 pkgrel=0.2 _gitver=dfc3a8ed713c2878407c6443c4d3092da3125e0c pkgdesc="Synaptics driver for notebook touchpads" arch=('i686' 'x86_64') license=('custom') url="http://xorg.freedesktop.org/" depends=('libxtst') makedepends=('xorg-server-devel>=1.11.99.902' 'libxi' 'libx11') conflicts=('xorg-server<1.11.99.902') replaces=('synaptics') provides=('synaptics') conflicts=('synaptics') groups=('xorg-drivers' 'xorg') options=(!libtool) backup=('etc/X11/xorg.conf.d/10-synaptics.conf') source=(#http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/snapshot/xf86-input-synaptics-${_gitver}.tar.gz 10-synaptics.conf) md5sums=('5e21cc5c7f61802ac340968caf9db7de' '3b81a81b958dfe3cac3cdef7ee85f1ce') build() { # cd "${srcdir}/${pkgname}-${pkgver}" cd ${srcdir}/${pkgname}* autoreconf -fi ./configure --prefix=/usr make } package() { #cd "${srcdir}/${pkgname}-${pkgver}" cd ${srcdir}/${pkgname}* make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d" install -m644 "${srcdir}/10-synaptics.conf" "${pkgdir}/etc/X11/xorg.conf.d/" install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" rm -rf "${pkgdir}/usr/share/X11" }