core/sdl_ttf/PKGBUILD
2011-03-24 17:24:26 +00:00

29 lines
810 B
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=sdl_ttf
pkgver=2.0.10
pkgrel=1
pkgdesc="A library that allows you to use TrueType fonts in your SDL applications"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.libsdl.org/projects/SDL_ttf/"
depends=('sdl>=1.2.12' 'freetype2')
options=('!libtool')
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
make || return 1
make DESTDIR=${pkgdir} install
}