# $Id: PKGBUILD 42648 2009-06-18 06:11:57Z allan $ # Maintainer: Allan McRae # Contributor: Tom Newsom pkgname=sdl_gfx pkgver=2.0.19 pkgrel=1 pkgdesc="SDL Graphic Primitives" arch=('i686' 'x86_64') license=('LGPL') options=(!libtool) url="http://www.ferzkopp.net/joomla/content/view/19/14/" source=(http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${pkgver}.tar.gz) depends=('sdl') md5sums=('cf01ad6539ceea65887fc9ebdfe04b83') build() { cd ${srcdir}/SDL_gfx-${pkgver} if [ "${CARCH}" == "x86_64" ]; then ./configure --prefix=/usr --disable-mmx else ./configure --prefix=/usr fi make || return 1 make DESTDIR=${pkgdir} install }