description="A simple library to load images of various formats as SDL surfaces (Version 2)"
url="http://crawl.develz.org/"

packager="tnut <tnut@nutyx.org>"
contributors="Remy"

makedepends=(sdl libpng libtiff libjpeg-turbo libwebp cmake)

name=sdl-image
version=2.0.5

source=(https://www.libsdl.org/projects/SDL_image/release/SDL2_image-$version.tar.gz)

build() {

cd SDL2_image-$version

./configure --disable-static --prefix=/usr

make 
make DESTDIR=$PKG install

# Obsolet lib
rm $PKG/usr/lib/libSDL2_image.la
}
