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

Alexander Rødseth arodseth at archlinux.org
Fri Dec 25 21:21:27 UTC 2020


    Date: Friday, December 25, 2020 @ 21:21:25
  Author: arodseth
Revision: 791008

upgpkg: raylib 3.5.0-1

Modified:
  raylib/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-25 21:19:12 UTC (rev 791007)
+++ PKGBUILD	2020-12-25 21:21:25 UTC (rev 791008)
@@ -2,7 +2,7 @@
 # Contributor: Wilhem Barbier <wilhem.b at free.fr>
 
 pkgname=raylib
-pkgver=3.0.0
+pkgver=3.5.0
 pkgrel=1
 pkgdesc='Simple and easy-to-use game programming library'
 arch=(x86_64)
@@ -10,13 +10,13 @@
 license=(ZLIB)
 depends=(glfw)
 makedepends=(cmake git libx11 libxcursor libxinerama libxrandr ninja vulkan-headers xorg-server-devel xorg-xinput)
-source=("git+https://github.com/raysan5/raylib#commit=7ef114d1da2c34a70bba5442497103441647d8f3") # 3.0.0
+source=("git+https://github.com/raysan5/raylib#commit=e25e380e80a117f2404d65b37700fb620dc1f990") # tag: 3.5.0
 md5sums=('SKIP')
 
 build() {
   mkdir -p build
   cd build
-  cmake "$srcdir/$pkgname" \
+  cmake ../$pkgname \
     -Wno-dev \
     -D CMAKE_BUILD_TYPE=Release \
     -D CMAKE_INSTALL_PREFIX=/usr \
@@ -25,7 +25,6 @@
     -D OpenGL_GL_PREFERENCE=GLVND \
     -D USE_EXTERNAL_GLFW=ON \
     -D BUILD_EXAMPLES=OFF \
-    -D BUILD_GAMES=OFF \
     -D SHARED=ON \
     -D STATIC=OFF \
     -D WITH_PIC=ON \
@@ -35,16 +34,11 @@
 
 package() {
   DESTDIR="$pkgdir" ninja -C build install
-  
-  # Also package header files
   for f in build/src/*.h; do
     install -Dm 644 "$f" "$pkgdir/usr/include/$(basename $f)"
   done
-  
-  # License
   install -Dm 644 "$pkgname/LICENSE" \
     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
 # getver: github.com/raysan5/raylib/releases
-# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list