summaryrefslogtreecommitdiff
path: root/testing/sdl_gfx
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-01 00:41:47 +0000
committerroot <root@rshg054.dnsready.net>2012-09-01 00:41:47 +0000
commite5a77fe6a2fd0e3eb7d877c942959b53fdff2a0c (patch)
treec4e25ae90be49a84f8a9eae41d11ad3f35dad12d /testing/sdl_gfx
parent68cdc08aec92abf91448a542e06fabbedbb583bf (diff)
Sat Sep 1 00:41:47 UTC 2012
Diffstat (limited to 'testing/sdl_gfx')
-rw-r--r--testing/sdl_gfx/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/sdl_gfx/PKGBUILD b/testing/sdl_gfx/PKGBUILD
new file mode 100644
index 000000000..3a6b7c442
--- /dev/null
+++ b/testing/sdl_gfx/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 165798 2012-08-30 16:55:11Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=sdl_gfx
+pkgver=2.0.24
+pkgrel=1
+pkgdesc="SDL Graphic Primitives"
+arch=('i686' 'x86_64')
+license=('LGPL')
+options=(!libtool)
+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=('838514185ff9a3b6377760aaa52fef8a')
+
+build() {
+ cd SDL_gfx-${pkgver}
+
+ if [ "${CARCH}" == "x86_64" ]; then
+ ./configure --prefix=/usr --disable-mmx
+ else
+ ./configure --prefix=/usr
+ fi
+
+ make
+}
+
+package() {
+ cd SDL_gfx-${pkgver}
+ make DESTDIR=${pkgdir} install
+}