From c7650f2fb16734bc78f43e42c507f52202f5f650 Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Tue, 5 Jul 2011 23:45:49 -0700
Subject: sdl_gfx:bumped to latest.

---
 abs/extra/sdl_gfx/PKGBUILD | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/abs/extra/sdl_gfx/PKGBUILD b/abs/extra/sdl_gfx/PKGBUILD
index 884a80b..393f047 100644
--- a/abs/extra/sdl_gfx/PKGBUILD
+++ b/abs/extra/sdl_gfx/PKGBUILD
@@ -1,22 +1,21 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 96464 2010-10-21 10:33:40Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Maintainer: Kevin Piche <kevin@archlinux.org>
 
-# SONAME change rebuild: clanlib luola sdl_perl
 pkgname=sdl_gfx
-pkgver=2.0.16
+pkgver=2.0.22
 pkgrel=1
 pkgdesc="SDL Graphic Primitives"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('LGPL')
 options=(!libtool)
-url="http://www.ferzkopp.net/joomla/content/view/19/14/"
+url="http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx"
 source=(http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${pkgver}.tar.gz)
 depends=('sdl')
-md5sums=('22dc2d9d916197829f9342c490d2d02b')
+md5sums=('330f291f1f09a1bdf397c9b40d92ca41')
 
 build() {
-  cd ${startdir}/src/SDL_gfx-${pkgver}
+  cd ${srcdir}/SDL_gfx-${pkgver}
 
   if [ "${CARCH}" == "x86_64" ]; then
     ./configure --prefix=/usr --disable-mmx
@@ -24,6 +23,10 @@ build() {
     ./configure --prefix=/usr
   fi
 
-  make || return 1
-  make DESTDIR=${startdir}/pkg install
+  make
+}
+
+package() {
+  cd ${srcdir}/SDL_gfx-${pkgver}
+  make DESTDIR=${pkgdir} install
 }
-- 
cgit v0.12

