#!/bin/sh

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
}