summaryrefslogtreecommitdiff
path: root/repo/x11/libwacom.xibuild
blob: 80dd536e8f5f5abec2e26bc622791ea9fcded2e9 (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="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
}