1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: carstene1ns <arch.carsten@teibes.de>
3 # Contributor: Jameson Pugh <imntreal@gmail.com>
5 pkgname=lib32-sdl2_image
8 pkgdesc='A simple library to load images of various formats as SDL surfaces'
10 url=https://www.libsdl.org/projects/SDL_image/
22 _tag=d3c6d5963dbe438bcae0e2b6f3d7cfea23d02829
23 source=(git+https://github.com/libsdl-org/SDL_image.git#tag=${_tag})
33 git describe --tags | sed 's/^release-//'
40 export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
50 make DESTDIR="${pkgdir}" -C SDL_image install
51 rm -rf "${pkgdir}"/usr/include
52 install -dm 755 "${pkgdir}"/usr/share/licenses
53 ln -s sdl2_image "$pkgdir"/usr/share/licenses/lib32-sdl2_image