summaryrefslogtreecommitdiff
path: root/repo/x11/libwacom.xibuild
blob: 18653e942cdabcbbf8f13ba91e455c8013f1845f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}