1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
5 pkgdesc="A simple library to load images of various formats as SDL surfaces (Version 2)"
7 url="http://www.libsdl.org/projects/SDL_image"
9 depends=('sdl2' 'libpng' 'libtiff' 'libjpeg' 'libwebp')
11 source=("https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${pkgver}.tar.gz")
12 sha512sums=('77e743d3f32707e015b290c1379ae3c7d7a3fe265995713267f0d0ec6517de4808f0de9890b5ab28445941af5bc9fbff346620629e0d7d7e9f365262cab05ee7')
15 cd "${srcdir}/SDL2_image-${pkgver}/"
16 ./configure --disable-static --prefix=/usr \
17 --disable-jpg-shared \
18 --disable-png-shared \
19 --disable-tif-shared \
25 cd "${srcdir}/SDL2_image-${pkgver}/"
27 make DESTDIR="${pkgdir}/" install
28 install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"