summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2020-11-08 15:07:04 -0500
committerVincent Grande2020-11-08 15:07:04 -0500
commita15a4f2402a361eb18de191c0860df2dedcff1fd (patch)
tree5d1170d242c9e2d05ac4010283df07c8c2a448b6
downloadaur-a15a4f2402a361eb18de191c0860df2dedcff1fd.tar.gz
initial upload
-rw-r--r--.SRCINFO22
-rwxr-xr-xPKGBUILD44
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..731ff3aaf1b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = libinput-minimal-git
+ pkgdesc = Input device management and event handling library
+ pkgver = 1.12.3.r8.g51ffff36
+ pkgrel = 1
+ url = https://www.freedesktop.org/wiki/Software/libinput/
+ arch = x86_64
+ license = custom:X11
+ makedepends = meson
+ depends = mtdev
+ depends = libevdev
+ depends = libwacom
+ optdepends = gtk3: libinput debug-gui
+ optdepends = python-pyudev: libinput measure
+ optdepends = python-evdev: libinput measure
+ provides = libinput
+ conflicts = libinput
+ source = git+https://gitlab.freedesktop.org/libinput/libinput
+ validpgpkeys = SKIP
+ sha512sums = SKIP
+
+pkgname = libinput-minimal-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..f725b9c7e3a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Vincent Grande <shoober420@gmail.com>
+# Contributor: Andreas Radke <andyrtr@archlinux.org>
+# Contributor: Jan de Groot
+
+pkgname=libinput-minimal-git
+pkgver=1.12.3.r8.g51ffff36
+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' 'libevdev' 'libwacom')
+provides=('libinput')
+conflicts=('libinput')
+# upstream doesn't recommend building docs
+makedepends=('meson') # 'doxygen' 'python-sphinx' 'python-recommonmark'
+optdepends=('gtk3: libinput debug-gui'
+ 'python-pyudev: libinput measure'
+ 'python-evdev: libinput measure')
+source=(git+https://gitlab.freedesktop.org/libinput/libinput)
+sha512sums=('SKIP')
+validpgpkeys=('SKIP') # Peter Hutterer (Who-T) <office@who-t.net>
+
+pkgver() {
+ cd libinput
+ git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ arch-meson libinput build \
+ -Dudev-dir=/usr/lib/udev \
+ -Dtests=false \
+ -Ddocumentation=false \
+ -Dlibwacom=false \
+ -Ddebug_gui=false
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+
+ install -Dvm644 libinput/COPYING \
+ "$pkgdir/usr/share/licenses/libinput/LICENSE"
+}