PKGBUILDs/extra/xf86-input-synaptics/PKGBUILD

37 lines
1.4 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 51066 2009-09-04 18:04:59Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Thomas Bächler <thomas@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=xf86-input-synaptics
pkgver=1.1.3
pkgrel=1
pkgdesc="synaptics driver for notebook touchpads"
arch=(i686 x86_64)
license=('custom')
url="http://w1.894.telia.com/~u89404340/touchpad/"
depends=('libxi>=1.2.1' 'libxtst')
makedepends=('pkgconfig' 'xorg-server>=1.6.3')
conflicts=('xorg-server<1.6.3')
replaces=('synaptics')
provides=('synaptics')
conflicts=('synaptics')
groups=('xorg-input-drivers')
options=(!libtool)
source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
11-x11-synaptics.fdi)
sha1sums=('eb1664971f03530e2d63df2fa52625fdee2a4da4'
'2a2c1da490aa1392459387ad21c6790b4af9206f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -d "${pkgdir}/usr/share/hal/fdi/policy/10osvendor"
install -m644 ${srcdir}/11-x11-synaptics.fdi "${pkgdir}/usr/share/hal/fdi/policy/10osvendor/" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}