2015-03-20 01:44:52 +08:00
|
|
|
#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libinput
|
2015-01-15 02:18:52 +08:00
|
|
|
|
|
|
|
pkgname=libinput
|
2015-03-20 01:44:52 +08:00
|
|
|
pkgver=0.12.0
|
2015-01-15 02:18:52 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="library that handles input devices for display servers and other applications that need to directly deal with input devices."
|
2015-03-20 01:44:52 +08:00
|
|
|
arch=(x86_64)
|
2015-01-15 02:18:52 +08:00
|
|
|
url="http://www.freedesktop.org/wiki/Software/libinput/"
|
|
|
|
license=(custom:X11)
|
|
|
|
depends=('mtdev' 'systemd' 'libevdev')
|
|
|
|
makedepends=('systemd')
|
|
|
|
options=('!libtool')
|
2015-03-20 01:44:52 +08:00
|
|
|
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz)
|
|
|
|
sha256sums=('6e0ce9dd9ff04e9ac382dffb7fa332b94f093227a197a9c8189e87de6d88b55a')
|
2015-01-15 02:18:52 +08:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|