Date: Monday, April 22, 2019 @ 23:07:47 Author: arodseth Revision: 453022
archrelease: copy trunk to community-x86_64 Added: raylib/repos/community-x86_64/PKGBUILD (from rev 453021, raylib/trunk/PKGBUILD) Deleted: raylib/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 89 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 46 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-04-22 23:07:39 UTC (rev 453021) +++ PKGBUILD 2019-04-22 23:07:47 UTC (rev 453022) @@ -1,43 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Contributor: Wilhem Barbier <wilhe...@free.fr> - -pkgname=raylib -pkgver=2.0.0 -pkgrel=1 -pkgdesc='Well designed 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) -source=("git+https://github.com/raysan5/raylib#tag=$pkgver") -md5sums=(SKIP) - -build() { - mkdir -p build - cd build - cmake "$srcdir/$pkgname" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \ - -DBUILD_EXAMPLES=OFF \ - -DBUILD_GAMES=OFF \ - -DSHARED=ON \ - -DSTATIC=OFF \ - -DOpenGL_GL_PREFERENCE=GLVND \ - -G Ninja - ninja -} - -package() { - DESTDIR="$pkgdir" ninja -C build install - # Also package header files - for f in build/release/*.h; do - install -Dm644 "$f" "$pkgdir/usr/include/$(basename $f)" - done - # License - install -Dm644 "$pkgname/LICENSE.md" \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" -} - -# vim: ts=2 sw=2 et: Copied: raylib/repos/community-x86_64/PKGBUILD (from rev 453021, raylib/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-22 23:07:47 UTC (rev 453022) @@ -0,0 +1,46 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Wilhem Barbier <wilhe...@free.fr> + +pkgname=raylib +pkgver=2.0.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#tag=$pkgver") +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 \ + -DWITH_PIC=ON \ + -G Ninja + ninja +} + +package() { + DESTDIR="$pkgdir" ninja -C build install + # Also package header files + for f in build/release/*.h; do + install -Dm644 "$f" "$pkgdir/usr/include/$(basename $f)" + done + # License + install -Dm644 "$pkgname/LICENSE.md" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" +} + +# vim: ts=2 sw=2 et: