summaryrefslogtreecommitdiff
path: root/libs/freetype/MAKEPKG
blob: 3c6ffdfa43569abd35f2201672e2fa69d1ba15e1 (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
#!/bin/mkpkg
# description: Font rendering library
# url: https://freetype.org/

name=freetype
version=2.14.3
release=1
depends=(zlib bzip2 libpng)
makedeps=(meson)
source=(https://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz)

sha256sums=(
    "36bc4f1cc413335368ee656c42afca65c5a3987e8768cc28cf11ba775e785a5f"
)

build() {
    meson setup $name-$version build \
        --prefix=/usr \
        --buildtype=plain \
        -D harfbuzz=disabled \
        -D brotli=disabled \
        -D bzip2=enabled \
        -D png=enabled \
        -D zlib=enabled

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

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

# vim: filetype=sh