PKGBUILDs/extra/sdl_gfx/PKGBUILD

29 lines
699 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 42648 2009-06-18 06:11:57Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
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
}