# Description: TrueType library for libsdl.
# URL: https://github.com/libsdl-org/SDL_ttf
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: freetype libsdl

name=sdl_ttf
version=2.0.11.1
release=1
source=(https://github.com/libsdl-org/SDL_ttf/archive/refs/heads/SDL-1.2.zip)
renames=($name-$version.zip)

build() {
	cd SDL_ttf-*

	./configure --prefix=/usr \
		--disable-sdltest \
		--disable-freetypetest
	make 
	make DESTDIR=$PKG install
}
