diff options
Diffstat (limited to 'repo/x11/libwacom.xibuild')
-rw-r--r-- | repo/x11/libwacom.xibuild | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/x11/libwacom.xibuild b/repo/x11/libwacom.xibuild new file mode 100644 index 0000000..18653e9 --- /dev/null +++ b/repo/x11/libwacom.xibuild @@ -0,0 +1,22 @@ +#!/bin/bash + +MAKEDEPS=(meson libxml2) +DEPS=(glib2 libgudev librsvg) + +DESC="Library to identify Wacom tablets and their features" + +PKG_VER=2.1.0 +SOURCE=https://github.com/linuxwacom/libwacom/releases/download/libwacom-$PKG_VER/libwacom-$PKG_VER.tar.xz + +build () { + mkdir build && + cd build && + + meson --prefix=/usr --buildtype=release -Dtests=disabled .. && + ninja + +} + +package () { + DESTDIR=$PKG_DEST ninja install +} |