contrib/sdl_image/Pkgfile

19 lines
516 B
Plaintext

# Description: SDL_image is an image file loading library.
# URL: https://www.github.com/libsdl-org/SDL_image
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: libtiff libpng libsdl
# Optional: libwebp
name=sdl_image
version=1.2.13
_commit=4a2fe2441695e3813b3f998a802f364b4cdbdd17
release=1
source=(https://github.com/libsdl-org/SDL_image/archive/$_commit/$name-$version.tar.gz)
build() {
cd SDL_image-$_commit
./configure --prefix=/usr --disable-sdltest
make
make DESTDIR=$PKG install
}