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

MAKEDEPS=(meson ninja xmlto docbook-xml-4.5 docbook-xsl libxslt)
DEPS=(libxml2)

PKG_VER=1.20.0
SOURCE=https://wayland.freedesktop.org/releases/wayland-$PKG_VER.tar.xz

DESC="A computer display server protocol"

build () {
    mkdir build &&
    cd    build &&

    meson --prefix=/usr       \
          --buildtype=release \
          -Ddocumentation=false &&
    ninja

}

package () {
    DESTDIR=$PKG_DEST ninja install
}