summaryrefslogtreecommitdiff
path: root/user/libinput/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 00:04:44 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 00:04:44 -0500
commit3032efbe7e9e96f0ed8a9ea3b7cf424800fbbc5a (patch)
tree42b6b6ba98267a8329ba0e5636d00c8a8b19165f /user/libinput/APKBUILD
parentcc67edd471d85519c76cc42e2e73d47a08cc8bc7 (diff)
downloadpackages-3032efbe7e9e96f0ed8a9ea3b7cf424800fbbc5a.tar.gz
packages-3032efbe7e9e96f0ed8a9ea3b7cf424800fbbc5a.tar.bz2
packages-3032efbe7e9e96f0ed8a9ea3b7cf424800fbbc5a.tar.xz
packages-3032efbe7e9e96f0ed8a9ea3b7cf424800fbbc5a.zip
user/libinput: well, here you go
Diffstat (limited to 'user/libinput/APKBUILD')
-rw-r--r--user/libinput/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libinput/APKBUILD b/user/libinput/APKBUILD
new file mode 100644
index 000000000..284bfeae2
--- /dev/null
+++ b/user/libinput/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libinput
+pkgver=1.11.1
+pkgrel=0
+pkgdesc="Library for handling input devices"
+url="https://www.freedesktop.org/wiki/Software/libinput/"
+arch="all"
+license="MIT"
+makedepends="doxygen eudev-dev graphviz libevdev-dev libwacom-dev meson
+ mtdev-dev"
+checkdepends="check-dev valgrind"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
+source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ meson --prefix=/usr \
+ -Ddocumentation=true \
+ -Dlibwacom=true \
+ -Ddebug-gui=false \
+ -Dtests=true builddir/
+ ninja -C builddir/
+}
+
+check() {
+ cd "$builddir"
+ ninja -C builddir/ test
+}
+
+package() {
+ cd "$builddir"
+ DESTDIR="$pkgdir" ninja -C builddir/ install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="3dd1a318c89d66f5a66016c6dbfa5277b61a8cb5337d99f85b1eeef40ed894bdc04fd4588a97383988daea0f034df5a72bff318325320a01b857db9deb94a2b0 libinput-1.11.1.tar.xz"