summaryrefslogtreecommitdiff
path: root/libs/libepoxy/MAKEPKG
blob: b490756c391fb36b2527e4d2e0cd61b4ed16d378 (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
25
26
27
28
29
30
31
32
#!/bin/mkpkg
# description: OpenGL function pointer management library
# url: https://github.com/anholt/libepoxy

name=libepoxy
version=1.5.10
release=1
depends=(mesa)
makedeps=(meson)
source=(https://github.com/anholt/libepoxy/archive/refs/tags/$version.tar.gz)
renames=($name-$version.tar.gz)

sha256sums=(
    "a7ced37f4102b745ac86d6a70a9da399cc139ff168ba6b8002b4d8d43c900c15"
)

build() {
    meson setup $name-$version build \
        --prefix=/usr \
        --libdir=lib \
        --buildtype=plain
    
    meson compile -C build
    DESTDIR=$PKG meson install -C build
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh