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

Laurent Carlier lcarlier at archlinux.org
Tue Apr 6 10:16:32 UTC 2021


    Date: Tuesday, April 6, 2021 @ 10:16:32
  Author: lcarlier
Revision: 912103

upgpkg: warzone2100 4.0.0-1: upstream update 4.0.0

Modified:
  warzone2100/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-06 09:52:39 UTC (rev 912102)
+++ PKGBUILD	2021-04-06 10:16:32 UTC (rev 912103)
@@ -2,34 +2,33 @@
 # Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
 
 pkgname=warzone2100
-pkgver=3.4.1
+pkgver=4.0.0
 pkgrel=1
 pkgdesc="3D realtime strategy game on a future Earth"
 url="https://wz2100.net/"
 arch=('x86_64')
 license=('GPL')
-depends=('sdl2' 'glew' 'fribidi' 'openal' 'libvorbis' 'libtheora' 'physfs' 'ttf-dejavu' 'qt5-script' 
-         'xorg-xrandr' 'libsodium')
-makedepends=('gawk' 'flex' 'zip' 'unzip' 'asciidoc' 'mesa' 'cmake')
+depends=('sdl2' 'openal' 'libvorbis' 'libtheora' 'libsodium' 'physfs' 'sqlite' 'freetype2')
+makedepends=('zip' 'unzip' 'asciidoc' 'mesa' 'vulkan-headers' 'shaderc' 'cmake' 'ninja')
 source=(${pkgname}-${pkgver}_src.tar.xz::https://github.com/Warzone2100/warzone2100/releases/download/${pkgver}/${pkgname}_src.tar.xz)
-sha256sums=('ea2cd7f016118a89244ebef8ce9424f71c060bcd5895b791d3e1cec02b555b69')
+sha256sums=('3368f6653a5ebe5579938f0ebbcfe7907b1f0fc635f0a7aecc5d68ebc50124b5')
 
 prepare() {
-  mkdir -p build
+  rm -rf build && mkdir -p build
 }
 
 build() {
   cd build
 
-  cmake ../${pkgname} \
+  cmake -G Ninja ../${pkgname} \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DWZ_DISTRIBUTOR="ArchLinux"
-  make
+  ninja
 }
 
 package() {
   cd build
 
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="${pkgdir}" ninja install
 }



More information about the arch-commits mailing list