# Template build file for 'xf86-input-joystick'.
pkgname=xf86-input-joystick
version=1.6.3
revision=2
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel"
depends="virtual?xserver-abi-input-24_1"
short_desc="Joystick Input driver for Xorg"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
checksum=9e7669ecf0f23b8e5dc39d5397cf28296f692aa4c0e4255f5e02816612c18eab

post_install() {
	vlicense COPYING
	vinstall ${FILESDIR}/50-joystick.conf 644 usr/share/X11/xorg.conf.d
}

xf86-input-joystick-devel_package() {
	lib32disabled=yes
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}
