#Packager: Panagiotis Papasotiriou
pkgname=SDL2 pkgver=2.30.7 pkgrel=1pp source=("https://github.com/libsdl-org/SDL/releases/download/release-$pkgver/$pkgname-$pkgver.tar.gz") sourcetemplate=https://people.salixos.org/papasot/salix/$pkgname url="https://www.libsdl.org" docs=("README-SDL.txt WhatsNew.txt") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "SDL2 (Simple DirectMedia Layer Version 2)" "Simple DirectMedia Layer is a cross-platform development library" "designed to provide low-level access to audio, keyboard, mouse," "joystick, and graphics hardware via OpenGL. It is used by video" "playback software, emulators, and games." "" "HomePage: https://www.libsdl.org" ) build() { cd $startdir/src/$pkgname-$pkgver mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. make -j $numjobs || exit 1 make install DESTDIR=$startdir/pkg cd .. }