summaryrefslogtreecommitdiff
path: root/extra/sdl_gfx/PKGBUILD
blob: f9b146af11ed5c9150538880fca144f98c06df4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 165865 2012-09-01 20:41:32Z 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' 'mips64el')
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}" != "i686" ]; then
    ./configure --prefix=/usr --disable-mmx
  else
    ./configure --prefix=/usr
  fi

  make
}

package() {
  cd SDL_gfx-${pkgver}
  make DESTDIR=${pkgdir} install
}