summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302018-02-05 12:57:18 +0100
committerM0Rf302018-02-05 12:57:18 +0100
commitd8b2ab11ef09939539a0876e629fde5400a31b9c (patch)
treefa9bf3a58007f90b7f66ae0b813645e065322750
parent99efcb635d81c426a1a13edc1cba725b44d908e2 (diff)
downloadaur-d8b2ab11ef09939539a0876e629fde5400a31b9c.tar.gz
xash3d-git: updated, but still to be reworked
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a0ac9a21504..bb03ac5837ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Thu Aug 24 15:09:12 UTC 2017
pkgbase = xash3d-git
pkgdesc = A custom Gold Source engine rewritten from scratch
- pkgver = v0.19.r4.g18eb06d
+ pkgver = v0.19.r576.g029aa835
pkgrel = 1
url = http://xash.su/
arch = i686
@@ -11,9 +9,9 @@ pkgbase = xash3d-git
makedepends = gcc-multilib
depends = lib32-sdl2
source = xash3d-git::git+https://github.com/FWGS/xash3d.git
- source = xash3d.sh
+ source = hlsdk::git+https://github.com/FWGS/vgui-dev
+ md5sums = SKIP
md5sums = SKIP
- md5sums = 3ef06bad6df82f714b57ce2f35cf7903
pkgname = xash3d-git
diff --git a/PKGBUILD b/PKGBUILD
index 11adbb40b26b..9a3d69ab47b2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: robertfoster
pkgname=xash3d-git
-pkgver=v0.19.r4.g18eb06d
+pkgver=v0.19.r576.g029aa835
pkgrel=1
pkgdesc="A custom Gold Source engine rewritten from scratch"
arch=(i686 x86_64)
@@ -11,7 +11,7 @@ depends=('lib32-sdl2')
makedepends=('gcc-multilib')
install=
source=("$pkgname::git+https://github.com/FWGS/xash3d.git"
- xash3d.sh)
+ "hlsdk::git+https://github.com/FWGS/vgui-dev")
pkgver() {
cd $srcdir/$pkgname
@@ -22,12 +22,12 @@ prepare() {
cd $srcdir/$pkgname
git submodule init && git submodule update
mkdir -p build
- cp ../xash3d.sh .
}
+
build() {
cd $srcdir/$pkgname
cd build
- cmake ../. -DHL_SDK_DIR=../hlsdk -DXASH_SDL=yes -DXASH_VGUI=yes \
+ cmake ../. -DHL_SDK_DIR=../../hlsdk -DXASH_SDL=yes -DXASH_VGUI=yes \
-DCMAKE_C_FLAGS="-m32" -DCMAKE_CXX_FLAGS="-m32" \
-DCMAKE_EXE_LINKER_FLAGS="-m32" \
-DCMAKE_INSTALL_PREFIX=/usr
@@ -41,4 +41,4 @@ package() {
}
md5sums=('SKIP'
- '3ef06bad6df82f714b57ce2f35cf7903')
+ 'SKIP')