core/libinput/PKGBUILD

38 lines
1.2 KiB
Bash
Raw Normal View History

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
2018-10-08 18:17:22 +08:00
pkgver=1.12.1
pkgrel=2
pkgdesc="Input device management and event handling library"
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)
2016-06-21 04:57:02 +08:00
depends=('mtdev' 'systemd' 'libevdev' 'libwacom')
makedepends=('gtk3' 'meson') # To build docs (not recommended by upstream) add these deps: 'doxygen' 'graphviz' 'python-sphinx' 'python-recommonmark'
2017-11-14 18:36:32 +08:00
optdepends=('gtk3: libinput debug-gui'
'python-pyudev: libinput measure'
'python-evdev: libinput measure')
2015-11-20 03:23:30 +08:00
install=libinput.install
2015-01-15 02:18:52 +08:00
options=('!libtool')
2015-12-22 18:25:34 +08:00
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
2018-10-08 18:17:22 +08:00
sha256sums=('570c48cc7b744b9b4da711ed0c5e8c3de132484684b0c4f0309a9a83df5e8692'
2015-12-22 18:25:34 +08:00
'SKIP')
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
2015-01-15 02:18:52 +08:00
build() {
meson $pkgname-$pkgver build \
-Dudev-dir=/usr/lib/udev \
-Dtests=false \
-Ddocumentation=false
ninja -C build
2015-12-22 18:25:34 +08:00
}
2015-01-15 02:18:52 +08:00
package() {
2017-12-12 02:45:38 +08:00
DESTDIR=$pkgdir ninja -C build install
2017-11-14 18:36:32 +08:00
install -Dvm644 $pkgname-$pkgver/COPYING \
2017-12-12 02:45:38 +08:00
$pkgdir/usr/share/licenses/$pkgname/LICENSE
2015-01-15 02:18:52 +08:00
}