core/libinput/PKGBUILD
2015-01-14 18:18:52 +00:00

31 lines
958 B
Bash

# $Id$
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Jan de Groot
pkgname=libinput
pkgver=0.7.0
pkgrel=1
pkgdesc="library that handles input devices for display servers and other applications that need to directly deal with input devices."
arch=(i686 x86_64)
url="http://www.freedesktop.org/wiki/Software/libinput/"
license=(custom:X11)
depends=('mtdev' 'systemd' 'libevdev')
makedepends=('systemd')
options=('!libtool')
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
sha256sums=('129f485afe5e4a9394641293991c97cb99f5f3338340d0d65b704ff463d1579e'
'SKIP')
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}