You are not logged in.

#1 Today 08:04:36

HyperPuppy
Member
Registered: 2026-08-28
Posts: 4

Create a PKG build for OCTR-NitroFueled-PC

Create a Pkg build for https://github.com/Ryu7w7/OCTR-NitroFueled-PC

I made my own PKGBUILD but i can't register to AUR site.

pkgname=OCTR-NitroFueled-PC-bin
pkgver="0.6.3"
pkgrel="1"
pkgdesc="Experimental Online Crash Team Racing: Nitro-Fueled (PS4) running natively on Windows 10/11. Windows fork of SacredFire, built on bbport and shadPS4. No game files included."
arch=('x86_64')
url="https://github.com/Ryu7w7/OCTR-NitroFueled-PC"
source=(https://github.com/Ryu7w7/OCTR-NitroFueled-PC/releases/download/v${pkgver}/SacredFire-v${pkgver}-x86_64.AppImage)
sha256sums=('c75618255815ae7029f144fb53fa05c4867ff267e4eac18b46b9b5903cfdd6ee')
license=('GNU General Public License v2.0')
package() {

chmod u+x ${srcdir}/SacredFire-v${pkgver}-x86_64.AppImage 
${srcdir}/SacredFire-v${pkgver}-x86_64.AppImage --appimage-extract
mkdir -p ${pkgdir}/usr/bin/nix
mkdir -p ${pkgdir}/usr/share/applications
mkdir -p ${pkgdir}/usr/bin/mountroot/nix/store
cp -P -r ${srcdir}/squashfs-root/nix ${pkgdir}/usr/bin/
cp -P -r ${srcdir}/squashfs-root/usr ${pkgdir}/
cp -P -r ${srcdir}/squashfs-root/entrypoint ${pkgdir}/usr/bin/
cp  -P -r ${srcdir}/squashfs-root/AppRun ${pkgdir}/usr/bin/sacredfire
cp  -P -r ${srcdir}/squashfs-root/io.github.sacredfire.Launcher.desktop ${pkgdir}/usr/share/applications/io.github.sacredfire.Launcher.desktop
}

Last edited by HyperPuppy (Today 09:39:35)

Offline

#2 Today 09:10:18

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,512

Re: Create a PKG build for OCTR-NitroFueled-PC

Since you re-packaging an appimage you're using pre-built binaries. To reflect this the suffix -bin needs to be appended to the pkgname .

mkdir -p ${pkgdir}/usr/bin/mountroot/nix/store

What is in this folder and is it needed to run the application ?

You need to add a LICENSE= field, look at https://github.com/Ryu7w7/OCTR-NitroFue … in/LICENSE to determine which license is used.


https://github.com/Ryu7w7/OCTR-NitroFue … x-appimage has instructions to create the appimage on archlinux, you could try to use them to create a build from source package .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 Today 09:43:42

HyperPuppy
Member
Registered: 2026-08-28
Posts: 4

Re: Create a PKG build for OCTR-NitroFueled-PC

it needs that folder or it won't run. I edited my post to reflect the bin suffix and the license field

Last edited by HyperPuppy (Today 09:43:56)

Offline

#4 Today 09:55:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,512

Re: Create a PKG build for OCTR-NitroFueled-PC

Please don't change the Opening Post in the future as it makes it harder for people to follow what happens.
Incase you do feel the need to add something to the OP append it at the bottom of the post and add a short tag (like EDIT1 , EDIT2 etc) .

We don't mind (actually often prefer) having multiple code pastes with small differences.
(diff'ing them is easy and makes it easy to spot the changes)

The license is indeed GPL 2 , but arch has switched to SPDX identifiers for licensing.
See https://wiki.archlinux.org/title/PKGBUILD#license


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB