Date: Sunday, August 5, 2018 @ 18:16:42 Author: andyrtr Revision: 330619
archrelease: copy trunk to testing-x86_64 Added: libinput/repos/testing-x86_64/ libinput/repos/testing-x86_64/PKGBUILD (from rev 330618, libinput/trunk/PKGBUILD) ----------+ PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) Copied: libinput/repos/testing-x86_64/PKGBUILD (from rev 330618, libinput/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-08-05 18:16:42 UTC (rev 330619) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Andreas Radke <andy...@archlinux.org> +# Maintainer: Jan de Groot + +pkgname=libinput +pkgver=1.11.3 +pkgrel=1 +pkgdesc="Input device management and event handling library" +url="https://www.freedesktop.org/wiki/Software/libinput/" +arch=(x86_64) +license=(custom:X11) +depends=('mtdev' 'systemd' 'libevdev' 'libwacom') +makedepends=('doxygen' 'graphviz' 'gtk3' 'meson') +optdepends=('gtk3: libinput debug-gui' + 'python-pyudev: libinput measure' + 'python-evdev: libinput measure') +source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}) +sha512sums=('5e18daab6202bcbfddeebc35dac4cabb5f726b5b73f5fc87975b58f3019a54a4b1f506a3200e920638ddddfb978a0b96c23c2e90b081942f86d33c16d4836949' + 'SKIP') +validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <off...@who-t.net> + +prepare() { + cd $pkgname-$pkgver + # Reduce docs size + printf '%s\n' >>doc/libinput.doxygen.in \ + HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes +} + +build() { + arch-meson $pkgname-$pkgver build -Dtests=false + ninja -C build +} + +package() { + DESTDIR="$pkgdir" ninja -C build install + + install -Dvm644 $pkgname-$pkgver/COPYING \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # install doc - no Makefile target + install -d "$pkgdir/usr/share/doc" + cp -av build/html "$pkgdir/usr/share/doc/libinput" +}