1 # Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
2 # Original Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-xinput-ubuntu
6 pkgver=1.5.3.${_ubuntu_ver}
8 pkgdesc="Small commandline tool to configure devices with Ubuntu's patches"
10 url="http://xorg.freedesktop.org/"
12 depends=('libx11' 'libxi-ubuntu')
13 makedepends=('xorg-util-macros' 'inputproto-ubuntu')
14 groups=('xorg-apps' 'xorg')
15 provides=("xorg-xinput=${pkgver}")
16 conflicts=('xorg-xinput')
17 source=("http://xorg.freedesktop.org/archive/individual/app/xinput-${pkgver%.*}.tar.bz2"
18 "http://archive.ubuntu.com/ubuntu/pool/main/x/xinput/xinput_${pkgver%.*}-${_ubuntu_ver}.debian.tar.gz")
19 sha512sums=('b6f389d5b1fe63de006d90da54824628be9407bf961ffa33ccc2f4080c7aed6e7c8dfe01b7289d6077d80b3d565d2cf9fa60578cc51793135e66e7066606b4b7'
20 'b9805f50153442df2f53b63e713d49a38733a82f412a250443bf8f9a9d87e781773a735112f55d3454d7f6624914dae2db358b9b330d24e848f73d8228d86998')
23 cd "${srcdir}/xinput-${pkgver%.*}"
26 for i in $(cat "${srcdir}/debian/patches/series" | grep -v '#'); do
27 patch -Np1 -i "${srcdir}/debian/patches/${i}"
30 ./configure --prefix=/usr
35 cd "${srcdir}/xinput-${pkgver%.*}"
36 make DESTDIR="${pkgdir}" install
37 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname%-*}"
38 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname%-*}/"