2011-12-05 18:34:37 +00:00
|
|
|
# $Id: PKGBUILD 144350 2011-12-04 22:59:47Z heftig $
|
2012-09-02 22:41:07 +00:00
|
|
|
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
|
|
# Contributor: Allan McRae <allan@archlinux.org
|
2011-12-05 18:34:37 +00:00
|
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - need --disable-mmx for ARM as well
|
|
|
|
|
|
|
|
pkgname=sdl_gfx
|
2013-11-13 14:35:13 +00:00
|
|
|
pkgver=2.0.25
|
|
|
|
pkgrel=1
|
2011-12-05 18:34:37 +00:00
|
|
|
pkgdesc="SDL Graphic Primitives"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('LGPL')
|
2013-11-13 14:35:13 +00:00
|
|
|
options=()
|
2011-12-05 18:34:37 +00:00
|
|
|
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')
|
2013-11-13 14:35:13 +00:00
|
|
|
md5sums=('ea24ed4b82ff1304809c363494fa8e16')
|
2011-12-05 18:34:37 +00:00
|
|
|
|
|
|
|
build() {
|
2012-09-02 22:41:07 +00:00
|
|
|
cd SDL_gfx-${pkgver}
|
2011-12-05 18:34:37 +00:00
|
|
|
|
2012-07-29 19:27:23 +00:00
|
|
|
if [ "${CARCH}" == "x86_64" -o "${CARCH}" == "arm" -o "${CARCH}" == "armv6h" -o "${CARCH}" == "armv7h" ]; then
|
2011-12-05 18:34:37 +00:00
|
|
|
./configure --prefix=/usr --disable-mmx
|
|
|
|
else
|
|
|
|
./configure --prefix=/usr
|
|
|
|
fi
|
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2012-09-02 22:41:07 +00:00
|
|
|
cd SDL_gfx-${pkgver}
|
2011-12-05 18:34:37 +00:00
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|