blob: 621f8254ff7c03e83459c00f0ddac3b36cd56b87 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-synaptics
pkgver=1.8.0
pkgrel=0
pkgdesc="X.org synaptics input driver"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=
makedepends="libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev
mtdev-dev libxtst-dev libevdev-dev"
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/xorg/modules/input/*.la || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="27a3f2b31606a13dd6b58d419978d64f xf86-input-synaptics-1.8.0.tar.bz2"
sha256sums="9bf27632aaa6c5e62621ca9c2ca00f9b309c85b039ee33cd592b189fc872c37a xf86-input-synaptics-1.8.0.tar.bz2"
sha512sums="1d9de23f5e11cdbaa9e89d73c1ba3515ae3df7b55946f6ca8617f38aace2dae4ee5c9ddc0861ccb3bea7973633d292d07448b33236cc31c449cc7ac0f69f6950 xf86-input-synaptics-1.8.0.tar.bz2"
|