pkgname=sdl_ttf pkgver=2.22.0 pkgrel=1 pkgdesc="Library that allows you to use TrueType fonts in your SDL applications" arch=('x86_64') license=('custom') url="https://github.com/libsdl-org/SDL_ttf" depends=('sdl2' 'freetype2') options=('!libtool') source=("https://github.com/libsdl-org/SDL_ttf/releases/download/release-${pkgver}/SDL2_ttf-${pkgver}.tar.gz") md5sums=('686e685caaa215d8fa1ac7bb02b2cf54') build() { cd SDL2_ttf-${pkgver} ./configure --prefix=/usr --disable-static make } package() { cd SDL2_ttf-${pkgver} make DESTDIR=${pkgdir} install install -Dm644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }