switch to pre-compiled injector

This commit is contained in:
Kent Slaney 2025-08-04 10:58:44 -07:00
parent 7bd6bff69e
commit ea2ff1aeff
2 changed files with 9 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = bakkesmod-steam
pkgdesc = A mod aimed at making you better at Rocket League!
pkgver = 2.54
pkgrel = 1
pkgrel = 2
url = https://bakkesmod.com/
arch = x86_64
license = GPL
@ -13,11 +13,13 @@ pkgbase = bakkesmod-steam
makedepends = python
source = dll-2-0-54.zip::https://github.com/bakkesmodorg/BakkesModInjectorCpp/releases/download/2.0.54/bakkesmod.zip
source = src-2-0-54.zip::https://github.com/bakkesmodorg/BakkesModInjectorCpp/archive/refs/tags/2.0.54.zip
source = loopback-2-54-1.zip::https://github.com/kentslaney/bakkesmod-arch/archive/refs/tags/2.54-1-steam.zip
source = loopback-2-54-2.zip::https://github.com/kentslaney/bakkesmod-arch/archive/refs/tags/2.54-2-steam.zip
source = https://github.com/kentslaney/bakkesmod-arch/releases/download/c369f24-1/inject.exe
source = pwshwrapper-05ea332.zip::https://github.com/PietJankbal/powershell-wrapper-for-wine/archive/05ea332209f52b796a78246a89757a291f254fb6.zip
sha256sums = 725e86dbd275fd798d550536739a97a642a0b0979ed948f714a40f1980eb11c4
sha256sums = 7dbb2ec5b02d90745764561c508f74fa5d4e028fa7d8331a7102cff87490eaba
sha256sums = SKIP
sha256sums = 0e038a4f0a2799f6aaa34f6560f5d1d41fba0cf26f8814571cebc94f5bb67a6e
sha256sums = 79ac12ff72dad9c0f79f5658fa4fed7c4d92476c6eea77427aa2bc84964fcf94
pkgname = bakkesmod-steam

View file

@ -2,7 +2,7 @@
pkgname=bakkesmod-steam
rlver=( 2 0 54 )
pkgver="${rlver[0]}.${rlver[2]}"
pkgrel=1
pkgrel=2
pkgdesc="A mod aimed at making you better at Rocket League!"
arch=('x86_64')
url="https://bakkesmod.com/"
@ -27,12 +27,14 @@ source=(
"dll-$rlesc.zip::https://github.com/bakkesmodorg/BakkesModInjectorCpp/releases/download/$rlstr/bakkesmod.zip"
"src-$rlesc.zip::https://github.com/bakkesmodorg/BakkesModInjectorCpp/archive/refs/tags/$rlstr.zip"
"loopback-$pkgesc-$pkgrel.zip::https://github.com/kentslaney/bakkesmod-arch/archive/refs/tags/$pkgver-$pkgrel-steam.zip"
"https://github.com/kentslaney/bakkesmod-arch/releases/download/c369f24-1/inject.exe"
"pwshwrapper-${pwsh_sum:0:7}.zip::https://github.com/PietJankbal/powershell-wrapper-for-wine/archive/$pwsh_sum.zip"
)
sha256sums=(
'725e86dbd275fd798d550536739a97a642a0b0979ed948f714a40f1980eb11c4'
'7dbb2ec5b02d90745764561c508f74fa5d4e028fa7d8331a7102cff87490eaba'
'SKIP'
'0e038a4f0a2799f6aaa34f6560f5d1d41fba0cf26f8814571cebc94f5bb67a6e'
'79ac12ff72dad9c0f79f5658fa4fed7c4d92476c6eea77427aa2bc84964fcf94'
)
@ -44,7 +46,9 @@ build() {
unzip -qd "$tmp" "$srcdir/loopback-$pkgesc-$pkgrel.zip"
mv "$tmp"/*/* "$srcdir"
rm -fr "$tmp"/* "$tmp"
}
compile() {
# MinGW and VS header disagreement
patches="$srcdir/include"
mkdir -p "$patches"