Skip to content
Snippets Groups Projects
Commit 1c8dbd4d authored by T.J. Townsend's avatar T.J. Townsend
Browse files

upgpkg: 4.3.3-1

parent d12e8e91
No related branches found
Tags 20200108
No related merge requests found
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
pkgname=warzone2100
pkgver=4.3.2
pkgver=4.3.3
pkgrel=1
pkgdesc="3D realtime strategy game on a future Earth"
url="https://wz2100.net/"
......@@ -11,24 +11,19 @@ license=('GPL')
depends=('sdl2' 'openal' 'libvorbis' 'libtheora' 'libsodium' 'physfs' 'sqlite' 'freetype2' 'opus')
makedepends=('zip' 'unzip' 'libzip' '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=('45ca4793ea7d01dbbdce4776279e21b297a8959affc6c06c63c7941cb198d31c')
prepare() {
rm -rf build && mkdir -p build
}
sha256sums=('3c3cb9988600a10f5500909344c881a94951b4a22a54788cb818a8cd3b47e59e')
build() {
cd build
cmake -G Ninja ../${pkgname} \
cmake -B build -S ${pkgname} \
-G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DWZ_DISTRIBUTOR="ArchLinux"
ninja
-DWZ_DISTRIBUTOR="ArchLinux" \
-Wno-dev
cmake --build build
}
package() {
cd build
DESTDIR="${pkgdir}" ninja install
DESTDIR="${pkgdir}" cmake --install build
}
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