diff options
author | Dasperal | 2024-01-07 18:21:33 +0300 |
---|---|---|
committer | Dasperal | 2024-01-07 18:21:33 +0300 |
commit | b4d9445bf5bfd88938589735b12ad0ffd5654fe3 (patch) | |
tree | 8356e928ba4b6e3b369cb1850e98f9e000a81560 /PKGBUILD | |
parent | 4b016137b183d431787d82c2a662354a2eec3dae (diff) | |
download | aur-russian-doom.tar.gz |
Heretic & Hexen: Fix internal resources lookup
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 17 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Maintainer: Leonid Murin (Dasperal) <Dasperal1 at gmail dot com> pkgname=russian-doom pkgver=6.3 -pkgrel=1 +pkgrel=2 pkgdesc="A limit-removing source port of Doom, Heretic and Hexen with enhancements and Russian translation" arch=('i686' 'x86_64' 'armv7h' 'aarch64') url="https://github.com/Russian-Doom/russian-doom" @@ -10,8 +10,22 @@ depends=('sdl2>=2.0.18' 'sdl2_mixer>=2.0.2' 'sdl2_net>=2.0.0' 'libsamplerate') makedepends=(cmake python3) optdepends=('doom1-wad: Doom shareware game data' 'heretic1-wad: Heretic shareware game data' 'hexen1-wad: Hexen demo game data') conflicts=('russian-doom-git') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Russian-Doom/russian-doom/archive/refs/tags/${pkgver}.tar.gz") -b2sums=('fa252f3fc1103eb50b9f202809cc9a400c49d698b2daee61d37e8b8a0084ade7d048b522c06675197774bf772b53a0e040af8c1c0d6ba7d4a777e980444f674d') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Russian-Doom/russian-doom/archive/refs/tags/${pkgver}.tar.gz" + "0001_fix_internal_resources_lookup.patch") +b2sums=('fa252f3fc1103eb50b9f202809cc9a400c49d698b2daee61d37e8b8a0084ade7d048b522c06675197774bf772b53a0e040af8c1c0d6ba7d4a777e980444f674d' + 'fc1a0b3826c564f6c4e41a83609a2e7b7728a7231069f839ec841f82c2e36d4376faf7794c3cb7d2bbdcbebba29ce46d0a22d080e21217c1960fab50c6166a06') + +prepare() { + cd "${pkgbase}-${pkgver}" + + for patch in ../*.patch; do + if [ ! -f "$patch" ]; then + break; + else + patch -p1 -i "$patch" + fi + done +} build() { # Upstream forces `-O2` for 'Release' build type |