aboutsummaryrefslogtreecommitdiffstats
path: root/community/xf86-input-synaptics/APKBUILD
blob: b030cb6b1990ca44e26e39734c4bf54308358faa (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-synaptics
pkgver=1.9.1
pkgrel=2
pkgdesc="X.org synaptics input driver"
url="https://www.x.org"
arch="all"
license="MIT"
subpackages="$pkgname-doc $pkgname-dev"
depends=
makedepends="libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev
	mtdev-dev libxtst-dev libevdev-dev"
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
	time64.patch"

builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$builddir"
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="978eddd456aa7361047bc3d72e5127b24b13de29b0dddb6a0acc9f9da93931baa2b22fb5d1e6be164f629a11e5d97d753b835426435396b45b1af5eb8d546c3f  xf86-input-synaptics-1.9.1.tar.bz2
8ad3cea3739f129643e7727dd1046f126242e5e3a5b295e088790eccb2fb8407baff5309e8d4325bf54114ae9fa47db3b460b46a5cbe57711086ebd4d391ef86  time64.patch"