summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/sdl_ttf/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/abs/extra/sdl_ttf/PKGBUILD b/abs/extra/sdl_ttf/PKGBUILD
index 956b87f..56e56d9 100644
--- a/abs/extra/sdl_ttf/PKGBUILD
+++ b/abs/extra/sdl_ttf/PKGBUILD
@@ -1,21 +1,26 @@
-# $Id: PKGBUILD 8788 2008-08-16 06:06:57Z eric $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
+# $Id: PKGBUILD 85134 2010-07-09 10:09:49Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
pkgname=sdl_ttf
-pkgver=2.0.9
+pkgver=2.0.10
pkgrel=1
pkgdesc="A library that allows you to use TrueType fonts in your SDL applications"
-arch=(i686 x86_64)
+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=('6dd5a85e4924689a35a5fb1cb3336156')
+md5sums=('814e6e17e8879254208d23b3b7e0354b')
build() {
- cd ${startdir}/src/SDL_ttf-${pkgver}
+ cd ${srcdir}/SDL_ttf-${pkgver}
./configure --prefix=/usr
- make || return 1
- make DESTDIR=${startdir}/pkg install
+ make
+}
+
+package() {
+ cd ${srcdir}/SDL_ttf-${pkgver}
+ make DESTDIR=${pkgdir} install
}