blob: 9c03bf3c075bf1c765e9e56955de69c330048c61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Tim Lawrence <alkaliV02@gmail.com>
# Contributor: Allison Smith <alyway@protonmail.com>
pkgname=starfield-mod-loader-bin
pkgver=0.8.0
pkgrel=1
pkgdesc="A simple mod manager for Starfield that supports both Steam and Game Pass versions of the game."
arch=('x86_64')
url="https://github.com/lVlyke/starfield-mod-loader"
license=('GPL3')
depends=('nodejs' 'p7zip')
source=("https://github.com/lVlyke/starfield-mod-loader/releases/download/v${pkgver}/starfield-mod-loader-linux-x64_${pkgver}.7z"
'starfield-mod-loader.sh')
sha256sums=('d4089f22b050baafdcfdbffe1f054705146c6865d737c652bf73af99b3573ad0'
'b7c938153b5fa38f3c382b72920ab0092327b1e3106df9b7224d7f55e9886e90')
package(){
mkdir -p "${pkgdir}/opt"
mkdir -p "${pkgdir}/usr/bin"
# Extract package data
7z x "starfield-mod-loader-linux-x64_${pkgver}.7z" -o"${pkgdir}/opt"
mv "${pkgdir}/opt/starfield-mod-loader-linux-x64/" "${pkgdir}/opt/${pkgname}/"
# ln -s "/opt/${pkgname}/starfield-mod-loader" "${pkgdir}/usr/bin/${pkgname}"
cp "starfield-mod-loader.sh" "${pkgdir}/usr/bin/${pkgname}"
chmod +x "${pkgdir}/usr/bin/${pkgname}"
chmod 755 "${pkgdir}/opt/${pkgname}/"
}
|