feat/makepkg + project structure #12

Open
nvrl wants to merge 15 commits from feat/makepkg into main
171 changed files with 300324 additions and 8 deletions
Showing only changes of commit 975c8ee540 - Show all commits

View File

@@ -1,24 +1,24 @@
# Maintainer: Nils Pukropp <nils@narl.io>
pkgname=ultimate-ban-tracker
pkgver=1.3.3
pkgrel=1
pkgrel=2
pkgdesc="Professional Steam Account Manager & Ban Tracker"
arch=('x86_64')
url="https://narl.io"
license=('custom:Personal Use and Non-Commercial')
depends=('electron' 'nodejs' 'npm')
depends=('electron' 'nodejs' 'npm' 'libxss' 'nss' 'libxtst')
makedepends=('imagemagick')
source=("ultimate-ban-tracker-${pkgver}.tar.gz::https://git.narl.io/nvrl/ultimate-ban-tracker/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP') # Users should verify against the Gitea release
sha256sums=('SKIP')
build() {
# The Gitea archive usually extracts to a folder named after the repo
cd "${srcdir}/ultimate-ban-tracker"
# Build frontend
cd frontend
npm install
# Ensure icon is converted for desktop entry
# Ensure icon is converted
convert -background none -size 512x512 assets-build/icon.svg assets-build/icon.png
# Build production
@@ -37,19 +37,25 @@ package() {
# Copy the unpacked linux build
cp -r release/linux-unpacked/* "${pkgdir}/usr/lib/${pkgname}/"
# Create symlink to binary
ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
# Create a wrapper script instead of a direct symlink
# This ensures Electron finds its relative resources correctly
cat > "${pkgdir}/usr/bin/${pkgname}" <<EOF
#!/bin/bash
exec /usr/lib/${pkgname}/${pkgname} "\$@"
EOF
chmod +x "${pkgdir}/usr/bin/${pkgname}"
# Install Desktop Entry
cat > "${pkgdir}/usr/share/applications/${pkgname}.desktop" <<EOF
[Desktop Entry]
Name=Ultimate Ban Tracker
Exec=/usr/bin/${pkgname}
Exec=/usr/bin/${pkgname} %U
Icon=${pkgname}
Type=Application
Categories=Game;Utility;
Terminal=false
Comment=Professional Steam Account Manager & Ban Tracker
StartupWMClass=ultimate-ban-tracker
EOF
# Install Icon

View File

@@ -18,6 +18,7 @@
"build": {
"appId": "io.narl.ultimatebantracker",
"productName": "Ultimate Ban Tracker",
"executableName": "ultimate-ban-tracker",
"copyright": "Copyright © 2026 Nils Pukropp",
"directories": {
"output": "release"

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -0,0 +1,14 @@
# Generated by makepkg 7.1.0
# using fakeroot version 1.37.2
pkgname = ultimate-ban-tracker-debug
pkgbase = ultimate-ban-tracker
xdata = pkgtype=debug
pkgver = 1.3.3-1
pkgdesc = Detached debugging symbols for ultimate-ban-tracker
url = https://narl.io
builddate = 1771646617
packager = Unknown Packager
size = 1853752
arch = x86_64
license = custom:Personal Use and Non-Commercial
makedepend = imagemagick

View File

@@ -0,0 +1 @@
../../../ultimate-ban-tracker/chrome-sandbox

View File

@@ -0,0 +1 @@
../../usr/lib/ultimate-ban-tracker/chrome-sandbox.debug

View File

@@ -0,0 +1 @@
../../../ultimate-ban-tracker/libvulkan.so.1

View File

@@ -0,0 +1 @@
../../usr/lib/ultimate-ban-tracker/libvulkan.so.1.debug

View File

@@ -0,0 +1 @@
../../../ultimate-ban-tracker/libGLESv2.so

View File

@@ -0,0 +1 @@
../../usr/lib/ultimate-ban-tracker/libGLESv2.so.debug

View File

@@ -0,0 +1 @@
../../../ultimate-ban-tracker/libvk_swiftshader.so

View File

@@ -0,0 +1 @@
../../usr/lib/ultimate-ban-tracker/libvk_swiftshader.so.debug

View File

@@ -0,0 +1 @@
../../../ultimate-ban-tracker/chrome_crashpad_handler

View File

@@ -0,0 +1 @@
../../usr/lib/ultimate-ban-tracker/chrome_crashpad_handler.debug

View File

@@ -0,0 +1 @@
../../../ultimate-ban-tracker/libffmpeg.so

View File

@@ -0,0 +1 @@
../../usr/lib/ultimate-ban-tracker/libffmpeg.so.debug

View File

@@ -0,0 +1 @@
../../../ultimate-ban-tracker/libEGL.so

View File

@@ -0,0 +1 @@
../../usr/lib/ultimate-ban-tracker/libEGL.so.debug

View File

@@ -0,0 +1 @@
../../../ultimate-ban-tracker/ultimate-ban-tracker-desktop

View File

@@ -0,0 +1 @@
../../usr/lib/ultimate-ban-tracker/ultimate-ban-tracker-desktop.debug

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -0,0 +1,17 @@
# Generated by makepkg 7.1.0
# using fakeroot version 1.37.2
pkgname = ultimate-ban-tracker
pkgbase = ultimate-ban-tracker
xdata = pkgtype=pkg
pkgver = 1.3.3-1
pkgdesc = Professional Steam Account Manager & Ban Tracker
url = https://narl.io
builddate = 1771646617
packager = Unknown Packager
size = 426661512
arch = x86_64
license = custom:Personal Use and Non-Commercial
depend = electron
depend = nodejs
depend = npm
makedepend = imagemagick

View File

@@ -0,0 +1 @@
/usr/lib/ultimate-ban-tracker/ultimate-ban-tracker

View File

@@ -0,0 +1,21 @@
Copyright (c) Electron contributors
Copyright (c) 2013-2020 GitHub Inc.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More