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

MAKEDEPS=(meson ninja doxygen)
DEPS=(mesa)

PKG_VER=1.5.9
SOURCE=https://github.com/anholt/libepoxy/releases/download/$PKG_VER/libepoxy-$PKG_VER.tar.xz

DESC="Library handling OpenGL function pointer management"

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

    meson --prefix=/usr --buildtype=release .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}