mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:57:13 +08:00
39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
# Maintainer: Drake Justice <djustice@chakraos.org>
|
|
|
|
pkgname=xf86-input-synaptics
|
|
pkgver=1.8.1
|
|
pkgrel=1
|
|
pkgdesc="Synaptics driver for notebook touchpads"
|
|
arch=('x86_64')
|
|
license=('custom')
|
|
url="http://xorg.freedesktop.org/"
|
|
depends=('libxtst' 'mtdev' 'libevdev')
|
|
makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=21' 'libxi' 'libx11' 'resourceproto' 'scrnsaverproto')
|
|
conflicts=('xorg-server<1.16' 'X-ABI-XINPUT_VERSION<21' 'X-ABI-XINPUT_VERSION>=22')
|
|
replaces=('synaptics')
|
|
provides=('synaptics')
|
|
conflicts=('synaptics')
|
|
groups=('xorg-drivers' 'xorg')
|
|
source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
|
|
add_tapbuttons.diff)
|
|
sha256sums=('d74fdaf29e9888a2cb494e16d0a9ddb24265c5c765b05392b69c50e84ffbf09a'
|
|
'5298d3e871db3768b34cf8516d3f53f9291202e2ea5de3300256e1cd9119a1ec')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
# * upstream disabled tapping by default if a physical left button is present - see FS#33282
|
|
# * enable MatchDevicePath directive by default - FS#33291
|
|
patch -Np1 -i ${srcdir}/add_tapbuttons.diff
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|