diff options
author | M0Rf30 | 2019-11-19 21:42:04 +0100 |
---|---|---|
committer | M0Rf30 | 2019-11-19 21:42:04 +0100 |
commit | a0f1d3ef09864b241ad18cdc73122b8c8d4e9356 (patch) | |
tree | e092b19cefa3ef046a007952272f7c4290dc4152 | |
parent | 9050c5146479afe8335d42839da13145dcc314e6 (diff) | |
download | aur-a0f1d3ef09864b241ad18cdc73122b8c8d4e9356.tar.gz |
xash3d-hlsdk: x86_64 is not ready: revert to multilib config
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 5 deletions
@@ -9,9 +9,12 @@ pkgbase = xash3d-hlsdk makedepends = make makedepends = binutils makedepends = cmake - makedepends = gcc source = xash3d-hlsdk::git+https://github.com/FWGS/hlsdk-xash3d md5sums = SKIP + makedepends_i686 = gcc + makedepends_i686 = gcc-libs + makedepends_x86_64 = gcc-multilib + makedepends_x86_64 = lib32-gcc-libs pkgname = xash3d-hlsdk @@ -7,15 +7,18 @@ pkgdesc="Half-Life SDK from original Xash3D engine" arch=('i686' 'x86_64') url="http://xash.su/" license=('GPL3') -makedepends=('make' 'binutils' 'cmake' 'gcc') +makedepends=('make' 'binutils' 'cmake') +makedepends_i686=('gcc' 'gcc-libs') +makedepends_x86_64=('gcc-multilib' 'lib32-gcc-libs') source=("$pkgname::git+https://github.com/FWGS/hlsdk-xash3d") -_args="--libdir=/usr/lib \ ---enable-goldsrc-support \ +_args="--enable-goldsrc-support \ --build-type=release" if [ $CARCH == "x86_64" ]; then - _args+=" -8" + _args+=" --libdir=/usr/lib32" +else + _args+=" --libdir=/usr/lib" fi pkgver() { |