# Lib32 Packages for Chakra, part of chakra-project.org # # maintainer (x86_64): Giuseppe CalĂ  # maintainer (x86_64): Anke Boersma _pkgbasename=sdl_ttf pkgname=lib32-$_pkgbasename pkgver=2.0.10 pkgrel=2 pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (32-bit)" arch=('x86_64') url="http://www.libsdl.org/projects/SDL_ttf/" license=('LGPL') options=('!libtool') depends=('lib32-sdl' 'lib32-freetype2' $_pkgbasename=$pkgver) makedepends=('gcc-multilib') source=(http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz) md5sums=('814e6e17e8879254208d23b3b7e0354b') build() { cd "${srcdir}"/SDL_ttf-${pkgver} ./configure --prefix=/usr --libdir=/usr/lib32 CC="gcc -m32" PKG_CONFIG_PATH="/usr/lib32/pkgconfig" make } package() { cd "${srcdir}"/SDL_ttf-${pkgver} make DESTDIR=${pkgdir} install rm -rf "${pkgdir}"/usr/include }