summaryrefslogtreecommitdiff
path: root/repo/x11/libwacom/libwacom.xibuild
blob: 1f7e3920730a913b87cd182af36c104546a290e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

MAKEDEPS="meson libxml2"
DEPS="glib 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
}