summaryrefslogblamecommitdiff
path: root/user/xf86-input-evdev/APKBUILD
blob: 014f8911f65e37a93a26e17454ff4d404ba8c381 (plain) (tree)






































                                                                                                                                                                              
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-input-evdev
pkgver=2.10.6
pkgrel=0
pkgdesc="X.Org input driver - Evdev"
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
	eudev-dev mtdev-dev libevdev-dev"
source="https://www.X.Org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"

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
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="560b0a6491d50a46913a5890a35c0367e59f550670993493bd9712d712a9747ddaa6fe5086daabf2fcafa24b0159383787eb273da4a2a60c089bfc0a77ad2ad1  xf86-input-evdev-2.10.6.tar.bz2"