Skip to content
Snippets Groups Projects
Commit 7454ff68 authored by Laurent Carlier's avatar Laurent Carlier
Browse files

upstream update 4.0.0

parent 1ca77eca
No related branches found
Tags 4.0.0-1
No related merge requests found
......@@ -2,34 +2,33 @@
# Contributor: Angelo Theodorou <encelo@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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment