diff options
author | Alexander Pavlov | 2024-01-16 02:16:34 +0300 |
---|---|---|
committer | Alexander Pavlov | 2024-01-16 02:16:34 +0300 |
commit | 8e8e73b980ce1abf8f5b829ea8b5471faaec6e0f (patch) | |
tree | 0d4009bc867a5b113da73c981ae67bb840038018 /PKGBUILD | |
parent | 3b96595ddc7f477bbfc9180f952bcc3112d464ba (diff) | |
download | aur-serioussam-vk.tar.gz |
Fix broken texture effects
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -1,11 +1,11 @@ -# Maintainer: Alexander <tx00100xt@yandex.ru> -# Contributer: Alexander <tx00100xt@yandex.ru>> +# Maintainer: Alexander <t.x00100x.t@yandex.ru> +# Contributer: Alexander <t.x00100x.t@yandex.ru>> pkgname=serioussam-vk pkginstdir=serioussam pkgver=1.10.6 _srcname="SeriousSamClassic-VK-$pkgver" -pkgrel=3 +pkgrel=4 pkgdesc="Serious Sam Classic native Linux version with Vulkan support." arch=('i686' 'x86_64') url="https://github.com/tx00100xt/SeriousSamClassic-VK" @@ -17,11 +17,13 @@ install=serioussam.install source=("https://github.com/tx00100xt/SeriousSamClassic-VK/archive/refs/tags/v$pkgver.tar.gz" "serioussam-tfe.desktop" "serioussam-tse.desktop" - "serioussam.xpm") + "serioussam.xpm" + "0001-Fix-broken-texture-effects.patch") sha256sums=('2891c4890810ce156bb3e7e30e6b6de9ab21ff51380709de9f329ac3c48edde1' '1e36d7b0d11f68729aa5c79ac9a44157d4af0bf61060040ab92a37d96ca89aba' '49680c65d26b264a1d7735c6310fcc5d0ac0e0e56273d3bccf539c0c87d31b2b' - '1fd56e04072372e1e8dab0bae40da1519d82a28895cbe5661b18561ee9ea47b4') + '1fd56e04072372e1e8dab0bae40da1519d82a28895cbe5661b18561ee9ea47b4' + 'f0408905078ec16d0b2a6f3dfbdadd37e475fe03d595d46633fab948ffbbe439') if [[ $CARCH = "i686" ]]; then _bits="32" else @@ -29,6 +31,9 @@ else fi prepare(){ + # Prepare patch + cat 0001-Fix-broken-texture-effects.patch > "$srcdir/$_srcname/0001-Fix-broken-texture-effects.patch" + # Making building TFE scripts. cd "$srcdir/$_srcname/SamTFE/Sources/" sed -i 's/cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo/cmake -DCMAKE_BUILD_TYPE=Release/g' build-linux"$_bits".sh @@ -39,6 +44,10 @@ prepare(){ cd "$srcdir/$_srcname/SamTSE/Sources/" sed -i 's/cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo/cmake -DCMAKE_BUILD_TYPE=Release/g' build-linux"$_bits".sh chmod 755 build-linux"$_bits".sh + + # Fix broken texture effects + cd "$srcdir/$_srcname" + patch -p1 < 0001-Fix-broken-texture-effects.patch || return 1 } build(){ |