From e33933d75ed88a57905a0b8ebeb115dbdcac8278 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 28 Mar 2017 21:02:20 +0000
Subject: libinput: update to 1.7.0

---
 abs/extra/libinput/PKGBUILD         | 28 +++++++++++++++-------------
 abs/extra/libinput/libinput.install | 11 -----------
 2 files changed, 15 insertions(+), 24 deletions(-)
 delete mode 100644 abs/extra/libinput/libinput.install

diff --git a/abs/extra/libinput/PKGBUILD b/abs/extra/libinput/PKGBUILD
index 1d39dd9..1fa4d70 100644
--- a/abs/extra/libinput/PKGBUILD
+++ b/abs/extra/libinput/PKGBUILD
@@ -3,24 +3,21 @@
 # Maintainer: Jan de Groot
 
 pkgname=libinput
-pkgver=1.1.4
+pkgver=1.7.0
 pkgrel=1
-pkgdesc="library that handles input devices for display servers and other applications that need to directly deal with input devices."
+pkgdesc="Input device management and event handling library"
 arch=(i686 x86_64)
-url="http://www.freedesktop.org/wiki/Software/libinput/"
+url="https://www.freedesktop.org/wiki/Software/libinput/"
 license=(custom:X11)
-depends=('mtdev' 'systemd' 'libevdev')
-install=libinput.install
-options=('!libtool')
-source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
-sha256sums=('302cb76209b9c57a5a318e178f9bc446eede8ea79386103b5291cbfaa5fab5b6'
+depends=('mtdev' 'systemd' 'libevdev' 'libwacom')
+# currently no doc files to install
+makedepends=('doxygen' 'graphviz' 'gtk3')
+#checkdepends=('check' 'libunwind')
+source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+sha512sums=('9058eab813ea3de230835155ca843f248127cbafaf1aecc9a2e209a0215b090beef0468cc863a24320f8d0db1f2863baba680e2416e9e409e958b2c1d18e43a1'
             'SKIP')
 validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
 
-prepare() {
-  cd $pkgname-$pkgver
-}
-
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr --disable-static
@@ -29,11 +26,16 @@ build() {
 
 check() {
   cd $pkgname-$pkgver
-  make check
+# disabled for now:
+# https://github.com/libcheck/check/issues/18
+#  make check
 }
 
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+  # install doc - no Makefile target
+  install -v -dm755 ${pkgdir}/usr/share/doc/libinput
+  cp -rv doc/html/* ${pkgdir}/usr/share/doc/libinput
 }
diff --git a/abs/extra/libinput/libinput.install b/abs/extra/libinput/libinput.install
deleted file mode 100644
index b9d5d0e..0000000
--- a/abs/extra/libinput/libinput.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
-  udevadm hwdb --update >/dev/null 2>&1
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  post_install $1
-}
-- 
cgit v0.12

