# Maintainer: Natanael Copa pkgname=xf86-input-mouse pkgver=1.9.3 pkgrel=1 pkgdesc="X.org mouse 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" source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="d99f5b4b1ef1aa4cbf1a92549e412f54f121bc804e4d6643248ad7ea18081b38b958bd289dc8476ebc0f6ef5f7424c2f2a8abcfaa30cae5378829549af6b148f xf86-input-mouse-1.9.3.tar.bz2"