[arch-commits] Commit in raylib/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at gemini.archlinux.org
Sun Nov 7 20:44:29 UTC 2021


    Date: Sunday, November 7, 2021 @ 20:44:29
  Author: arodseth
Revision: 1038738

archrelease: copy trunk to community-x86_64

Added:
  raylib/repos/community-x86_64/PKGBUILD
    (from rev 1038737, raylib/trunk/PKGBUILD)
Deleted:
  raylib/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-07 20:44:24 UTC (rev 1038737)
+++ PKGBUILD	2021-11-07 20:44:29 UTC (rev 1038738)
@@ -1,40 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Wilhem Barbier <wilhem.b at free.fr>
-
-pkgname=raylib
-pkgver=3.7.0
-pkgrel=2
-pkgdesc='Simple and easy-to-use game programming library'
-arch=(x86_64)
-url='https://www.raylib.com'
-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=b6c8d343dca2ef19c23c50975328a028124cf3cb") # tag: 3.7.0
-b2sums=('SKIP')
-
-build() {
-  mkdir -p build
-  cd build
-  cmake ../$pkgname \
-    -Wno-dev \
-    -D CMAKE_BUILD_TYPE=Release \
-    -D CMAKE_INSTALL_PREFIX=/usr \
-    -D CMAKE_INSTALL_LIBDIR=lib \
-    -D CMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
-    -D OpenGL_GL_PREFERENCE=GLVND \
-    -D USE_EXTERNAL_GLFW=ON \
-    -D BUILD_EXAMPLES=OFF \
-    -D BUILD_SHARED_LIBS=ON \
-    -D WITH_PIC=ON \
-    -G Ninja
-  ninja
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-  install -Dm 644 "$pkgname/LICENSE" \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# getver: github.com/raysan5/raylib/releases

Copied: raylib/repos/community-x86_64/PKGBUILD (from rev 1038737, raylib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-07 20:44:29 UTC (rev 1038738)
@@ -0,0 +1,40 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Wilhem Barbier <wilhem.b at free.fr>
+
+pkgname=raylib
+pkgver=4.0.0
+pkgrel=1
+pkgdesc='Simple and easy-to-use game programming library'
+arch=(x86_64)
+url='https://www.raylib.com'
+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=0851960397f02a477d80eda2239f90fae14dec64") # tag: 4.0.0
+b2sums=('SKIP')
+
+build() {
+  cmake \
+    -B build \
+    -D BUILD_EXAMPLES=OFF \
+    -D BUILD_SHARED_LIBS=ON \
+    -D CMAKE_BUILD_TYPE=Release \
+    -D CMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
+    -D CMAKE_INSTALL_LIBDIR=lib \
+    -D CMAKE_INSTALL_PREFIX=/usr \
+    -D OpenGL_GL_PREFERENCE=GLVND \
+    -D USE_EXTERNAL_GLFW=ON \
+    -D WITH_PIC=ON \
+    -G Ninja \
+    -S $pkgname \
+    -Wno-dev
+  ninja -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dm 644 "$pkgname/LICENSE" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: github.com/raysan5/raylib/releases



More information about the arch-commits mailing list