## # Contributor: Todd Harbour # Comments: # Binary version available from: http://www.quadronyx.org/aur/ ## pkgname=xinput pkgver=1.4.1 pkgrel=1 pkgdesc="A utility to configure and test XInput devices. Also good for remapping buttons of additional mouse/mice." arch=('i686' 'x86_64') license=('custom') url="http://xorg.freedesktop.org/" makedepends=( \ 'imake' \ 'pkgconfig' \ ) depends=( \ 'libxi>=1.2.0' \ ) source=( \ http://xorg.freedesktop.org/archive/individual/app/${pkgname}-${pkgver}.tar.gz \ ) install=() md5sums=( \ '5b461666c951049a88fc17d2717b1a47' \ ) build() { cd ${startdir}/src/${pkgname}-${pkgver} || return 1 ./configure --prefix=/usr || return 1 make || return 1 make prefix=${startdir}/pkg/usr install || return 1 # License install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 }