diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -7,9 +7,12 @@ pkgdesc="A custom Gold Source engine rewritten from scratch" arch=('x86_64') url="http://xash.su/" license=('GPL3') -depends=('freetype2' 'fontconfig' 'sdl2' 'xash3d-hlsdk') +depends=('xash3d-hlsdk') +depends_i686=('freetype2' 'fontconfig' 'libpulse' 'sdl2') +depends_x86_64=('lib32-freetype2' 'lib32-fontconfig' 'lib32-libpulse' 'lib32-sdl2') makedepends=('make' 'binutils' 'cmake') -makedepends=('gcc' 'gcc-libs') +makedepends_i686=('gcc' 'gcc-libs') +makedepends_x86_64=('gcc-multilib' 'lib32-gcc-libs') backup=('etc/conf.d/xash3d') source=("$pkgname::git+https://github.com/FWGS/xash3d-fwgs" ${pkgname%%-git} @@ -19,13 +22,14 @@ source=("$pkgname::git+https://github.com/FWGS/xash3d-fwgs" https://github.com/FWGS/xash-extras/releases/download/v0.19.2/extras.pak ) _args="--prefix=/usr \ ---libdir=/usr/lib \ --build-type=release \ --disable-vgui \ --enable-stbtt" if [ $CARCH == "x86_64" ]; then - _args+=" -8" + _args+=" --libdir=/usr/lib32" +else + _args+=" --libdir=/usr/lib" fi pkgver() { @@ -79,8 +83,8 @@ package() { } md5sums=('SKIP' - 'ca89e0d9d9b28f2a0657dd96d1ddae66' + '71f6125d9270685a05067e597e527747' '2f9f7b77e05177961fdcecc4660a2010' - '45bdee1a2166ac9caeb9a5030cf65b29' + 'c1f2f0000496b1a6e6763ac8fb25fed9' '60d714544048b0383a7e79cfaed96d78' '409462da6be03f004e84452cfcb93d6b') |