summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTom Vincent2017-08-06 00:02:42 +0100
committerTom Vincent2017-08-06 00:02:42 +0100
commitdc7e72af570b2e29197c182ddc397b4d73ce98b4 (patch)
treed487827e02e117a683db2e309e14b0c35552402e /PKGBUILD
parent57cf2729e2061d56612627b244ece73bb878455d (diff)
downloadaur-dc7e72af570b2e29197c182ddc397b4d73ce98b4.tar.gz
Bump to 1.8.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 19 insertions, 21 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d4e44659633..18df7ce96dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,46 +4,44 @@
pkgname=libinput-no-hysteresis
_pkgname=libinput
-pkgver=1.7.3
+pkgver=1.8.1
pkgrel=1
pkgdesc="Input device management and event handling library sans hysteresis"
arch=(i686 x86_64)
url="https://www.freedesktop.org/wiki/Software/libinput/"
-provides=("libinput=${pkgver}")
license=(custom:X11)
+provides=("libinput=${pkgver}")
depends=('mtdev' 'systemd' 'libevdev' 'libwacom')
-# currently no doc files to install
-makedepends=('doxygen' 'graphviz' 'gtk3')
-#checkdepends=('check' 'libunwind')
-conflicts=('libinput')
-replaces=('libinput')
+makedepends=('doxygen' 'graphviz' 'gtk3' 'meson')
+optdepends=('gtk3: libinput debug-gui')
source=(https://freedesktop.org/software/$_pkgname/$_pkgname-$pkgver.tar.xz{,.sig} disable-hysteresis.patch)
-sha512sums=('2262dc56d213a4d3ea765e870af200e2c336a166baa1bbdf5205e3ce70faefc777429ba09563c5dd79feb5442f53abc84e04a0f32a06bb622d6e120bb8ad152b'
+sha512sums=('1566ccb7d1721ee2d16badc404896d31e3ac45fda71e2577db17141a507594f3827ed0a389bb537f946cb380d77feedef8e71df76ac89f8c11c44463df01ee4f'
'SKIP'
'22c97898b8bd2ed6757ce2a0f2c19d8ff908b3134a9bd435285bc5c59d9d4a17cc5bb4ef0bfb01001ef9aeb2c917bdcc79324cc68bc442c2038d9c448773ac5e')
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
prepare() {
+ mkdir build
cd $_pkgname-$pkgver
patch -p1 -i "${srcdir}/disable-hysteresis.patch"
}
build() {
- cd $_pkgname-$pkgver
- ./configure --prefix=/usr --disable-static
- make
-}
-
-check() {
- cd $_pkgname-$pkgver
- make check
+ cd build
+ meson --prefix=/usr --buildtype=release ../$_pkgname-$pkgver --libexecdir=/usr/lib \
+ -Dtests=false
+ ninja
}
package() {
- cd $_pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
+ pwd
+ cd build
+ DESTDIR="$pkgdir" ninja install
+
+ cd ../$_pkgname-$pkgver
+ install -Dvm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
+
# install doc - no Makefile target
- install -v -dm755 ${pkgdir}/usr/share/doc/libinput
- cp -rv doc/html/* ${pkgdir}/usr/share/doc/libinput
+ install -dv "$pkgdir/usr/share/doc/libinput"
+ cp -av doc/html/* "$pkgdir/usr/share/doc/libinput"
}