blob: 7a57a0e36723698b46d0264a4c9eee43fc154660 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Maintainer: Philipp Fent <philipp@fent.de>
# Contributor: Taegil Bae <esrevinu@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <Alexander@archlinux.org
_pkgname=xf86-input-evdev
pkgname=${_pkgname}-trackpoint
pkgver=2.10.6
pkgrel=1
_pkgname2=xf86-input-synaptics
_pkgver2=1.9.1
pkgdesc="X.org evdev input driver for trackpoint with clickpad"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('systemd-libs' 'mtdev' 'libevdev')
makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=24.1' 'xorgproto')
conflicts=('xorg-server<1.19.0' 'X-ABI-XINPUT_VERSION<24.1' 'X-ABI-XINPUT_VERSION>=25' 'xf86-input-evdev')
replaces=("${_pkgname}")
provides=("${_pkgname}" 'xf86-input-driver')
options=('!makeflags')
backup=('etc/X11/xorg.conf.d/90-evdev-trackpoint.conf')
source=(${url}/releases/individual/driver/${_pkgname}-${pkgver}.tar.bz2
${url}/releases/individual/driver/${_pkgname2}-${_pkgver2}.tar.bz2
0001-implement-trackpoint-wheel-emulation.patch
0004-disable-clickpad_guess_clickfingers.patch
0006-add-synatics-files-into-Makefile.am.patch
90-evdev-trackpoint.conf)
sha256sums=('8726073e81861bc7b2321e76272cbdbd33c7e1a121535a9827977265b9033ec0'
'7af83526eff1c76e8b9e1553b34245c203d029028d8044dd9dcf71eef1001576'
'1df30c030522d48dd1a134f9cf3acb44876950836b80eb56436414d6fd062d34'
'74c508e1173254af8e4a851bf05762a1cd7dc194079b875ea0226913297db362'
'9fc80868f6fae1c41a4d31bd77daa5d4e8832628c7e4e13f9645647bdd01b0f8'
'2278cb9b452524cc3fe17071efa2d5b5c8064628b440997fdfa7f999dbf29b62')
install=xf86-input-evdev-trackpoint.install
prepare() {
synaptics_srcdir=${srcdir}/${_pkgname2}-${_pkgver2}
cd "${srcdir}/${_pkgname}-${pkgver}"
cp ${synaptics_srcdir}/src/{eventcomm.c,eventcomm.h,properties.c,\
synaptics.c,synapticsstr.h,synproto.c,synproto.h} src/
cp ${synaptics_srcdir}/include/synaptics-properties.h include/
patch -p1 -i ../0001-implement-trackpoint-wheel-emulation.patch
patch -p1 -i ../0004-disable-clickpad_guess_clickfingers.patch
patch -p1 -i ../0006-add-synatics-files-into-Makefile.am.patch
}
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
autoreconf -i
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d"
install -m644 ${srcdir}/90-evdev-trackpoint.conf "${pkgdir}/etc/X11/xorg.conf.d/"
}
|