summaryrefslogtreecommitdiff
path: root/libs/harfbuzz/MAKEPKG
blob: 81cfb6226ed2d1c1357509c56ddc31af7c36ab96 (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
33
34
35
36
37
38
39
#!/bin/mkpkg
# description: OpenType text shaping engine
# url: https://harfbuzz.github.io/

name=harfbuzz
version=14.5.0
release=1
depends=(freetype glib)
makedeps=(meson)
source=(https://github.com/$name/$name/releases/download/$version/$name-$version.tar.xz)

sha256sums=(
    "b7132e148358a45185c9feafd049dbaf243649d3c44414b3534d9c95d18592b9"
)

build() {
    meson setup $name-$version build \
        --prefix=/usr \
        --buildtype=plain \
        -D freetype=enabled \
        -D glib=enabled \
        -D gobject=disabled \
        -D icu=disabled \
        -D cairo=disabled \
        -D graphite2=disabled \
        -D utilities=disabled \
        -D docs=disabled \
        -D tests=disabled

    meson compile -C build
    DESTDIR=$PKG meson install -C build
}

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

# vim: filetype=sh