diff options
Diffstat (limited to 'staging/xorg-xinput/PKGBUILD')
-rw-r--r-- | staging/xorg-xinput/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/staging/xorg-xinput/PKGBUILD b/staging/xorg-xinput/PKGBUILD new file mode 100644 index 000000000..1ef586b70 --- /dev/null +++ b/staging/xorg-xinput/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 148557 2012-02-03 17:02:15Z andyrtr $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=xorg-xinput +pkgver=1.5.4 +pkgrel=1 +pkgdesc="Small commandline tool to configure devices" +arch=(i686 x86_64) +url="http://xorg.freedesktop.org/" +license=('custom') +depends=('libx11' 'libxi') +makedepends=('xorg-util-macros' 'inputproto') +groups=('xorg-apps' 'xorg') +source=(http://xorg.freedesktop.org/archive/individual/app/xinput-${pkgver}.tar.bz2) +sha1sums=('4e77f4034aa4bc720726beb0795d77a47a71d2c8') + +build() { + cd "${srcdir}/xinput-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/xinput-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} |