summaryrefslogtreecommitdiff
path: root/extra/sdl_image/PKGBUILD
blob: a61e6c713a10b44ec22175733481fb75133f94ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 64922 2010-01-23 10:17:20Z eric $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=sdl_image
pkgver=1.2.10
pkgrel=2
pkgdesc="A simple library to load images of various formats as SDL surfaces"
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('sdl>=1.2.13' 'libpng' 'libjpeg>=7' 'libtiff' 'zlib')
options=('!libtool')
url="http://www.libsdl.org/projects/SDL_image/"
source=(http://www.libsdl.org/projects/SDL_image/release/SDL_image-${pkgver}.tar.gz)
md5sums=('6c06584b31559e2b59f2b982d0d1f628')

build() {
  cd ${srcdir}/SDL_image-${pkgver}
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=${pkgdir} install
}