[arch-commits] Commit in raylib/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon Apr 22 23:07:39 UTC 2019


    Date: Monday, April 22, 2019 @ 23:07:39
  Author: arodseth
Revision: 453021

upgpkg: raylib 2.0.0-2

Modified:
  raylib/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-22 22:57:11 UTC (rev 453020)
+++ PKGBUILD	2019-04-22 23:07:39 UTC (rev 453021)
@@ -3,28 +3,31 @@
 
 pkgname=raylib
 pkgver=2.0.0
-pkgrel=1
-pkgdesc='Well designed and easy-to-use game programming library'
+pkgrel=2
+pkgdesc='Simple and easy-to-use game programming library'
 arch=(x86_64)
 url='https://www.raylib.com'
 license=(ZLIB)
-depends=(libx11)
-makedepends=(cmake git glfw libxcursor libxinerama libxrandr ninja vulkan-headers xorg-server-devel xorg-xinput)
+depends=(glfw)
+makedepends=(cmake git libx11 libxcursor libxinerama libxrandr ninja vulkan-headers xorg-server-devel xorg-xinput)
 source=("git+https://github.com/raysan5/raylib#tag=$pkgver")
-md5sums=(SKIP)
+md5sums=('SKIP')
 
 build() {
   mkdir -p build
   cd build
   cmake "$srcdir/$pkgname" \
+    -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
+    -DOpenGL_GL_PREFERENCE=GLVND \
+    -DUSE_EXTERNAL_GLFW=ON \
     -DBUILD_EXAMPLES=OFF \
     -DBUILD_GAMES=OFF \
     -DSHARED=ON \
     -DSTATIC=OFF \
-    -DOpenGL_GL_PREFERENCE=GLVND \
+    -DWITH_PIC=ON \
     -G Ninja
   ninja
 }



More information about the arch-commits mailing list