summaryrefslogtreecommitdiff
path: root/repo/sdl2-ttf/sdl2-ttf.xibuild
blob: 335d1f6f04afffe50448a481ee9e83b9128f365d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

NAME="sdl2-ttf"
DESC="A library which allows you to use TrueType fonts in your SDL applications"

MAKEDEPS="freetype2 mesa sdl2"

PKG_VER=2.20.1
SOURCE="https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-$PKG_VER.tar.gz"

build() {
	./configure \
		--prefix=/usr \
		--enable-static
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
}