PKGBUILDs/extra/sdl_image/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
694 B
Bash

# $Id: PKGBUILD 44516 2009-07-02 14:03:50Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=sdl_image
pkgver=1.2.7
pkgrel=2
pkgdesc="A simple library to load images of various formats as SDL surfaces"
arch=('i686' 'x86_64')
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=('a729ff61f74f0a45ec7fe36354cf938e')
build() {
cd ${srcdir}/SDL_image-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
}