# Contributor: August Klein # Maintainer: August Klein setvar pkgname = 'sdl2_ttf' setvar pkgver = '2.0.14' setvar pkgrel = '0' setvar _pkgname = 'SDL2_ttf' setvar pkgdesc = ""A library which allows you to use TrueType fonts in your SDL applications"" setvar url = ""http://www.libsdl.org/projects/SDL_ttf/"" setvar arch = ""all"" setvar license = ""zlib"" setvar depends = """" setvar depends_dev = ""freetype-dev sdl2-dev"" setvar makedepends = "$depends_dev" setvar subpackages = ""$pkgname-dev"" setvar source = ""http://www.libsdl.org/projects/SDL_ttf/release/$_pkgname-$pkgver.tar.gz"" setvar builddir = ""$srcdir"/$_pkgname-$pkgver" proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 } setvar md5sums = ""e53c05e1e7f1382c316afd6c763388b1 SDL2_ttf-2.0.14.tar.gz"" setvar sha256sums = ""34db5e20bcf64e7071fe9ae25acaa7d72bdc4f11ab3ce59acc768ab62fe39276 SDL2_ttf-2.0.14.tar.gz"" setvar sha512sums = ""4db817573fd216e26180f4c401cc869ce407589a461032fd7167dc612d35e038cca1ab67be7909b6b49c741581a68125ab46362ad8e3c0a2cdd39624ad847099 SDL2_ttf-2.0.14.tar.gz""