#Packager: Panagiotis Papasotiriou pkgname=raylib pkgver=5.0 pkgrel=1pp source=("https://github.com/raysan5/raylib/archive/refs/tags/$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/papasot/salix/$pkgname url="https://www.raylib.com" docs=("README.md FAQ.md HISTORY.md ROADMAP.md CONVENTIONS.md BINDINGS.md CHANGELOG") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "raylib (simple and easy-to-use library for game development)" "raylib is a simple and easy-to-use library to enjoy videogame" "sprogramming." "" "HomePage: https://www.raylib.com" ) build() { cd $startdir/src/$pkgname-$pkgver mkdir -p raylib-build cd raylib-build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=Release \ -DPLATFORM=Desktop \ -DWITH_PIC=ON .. make -j $numjobs || exit 1 make install DESTDIR=$startdir/pkg cd .. }