# Description: A cross-platform networking library for SDL.
# URL: https://github.com/libsdl-org/SDL_net
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: libsdl

name=sdl_net
version=1.2.8
release=1
source=(https://github.com/libsdl-org/SDL_net/archive/refs/tags/release-$version.tar.gz)
renames=($name-release-$version.tar.gz)

build() {
	cd SDL_net-release-$version
	./configure --prefix=/usr --enable-gui=no --disable-sdltest
	make
	make DESTDIR=$PKG install
}

