feat/makepkg + project structure #12
22
PKGBUILD
22
PKGBUILD
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
2074
pkg/ultimate-ban-tracker-debug/.BUILDINFO
Normal file
2074
pkg/ultimate-ban-tracker-debug/.BUILDINFO
Normal file
File diff suppressed because it is too large
Load Diff
BIN
pkg/ultimate-ban-tracker-debug/.MTREE
Normal file
BIN
pkg/ultimate-ban-tracker-debug/.MTREE
Normal file
Binary file not shown.
14
pkg/ultimate-ban-tracker-debug/.PKGINFO
Normal file
14
pkg/ultimate-ban-tracker-debug/.PKGINFO
Normal 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
|
||||
@@ -0,0 +1 @@
|
||||
../../../ultimate-ban-tracker/chrome-sandbox
|
||||
@@ -0,0 +1 @@
|
||||
../../usr/lib/ultimate-ban-tracker/chrome-sandbox.debug
|
||||
@@ -0,0 +1 @@
|
||||
../../../ultimate-ban-tracker/libvulkan.so.1
|
||||
@@ -0,0 +1 @@
|
||||
../../usr/lib/ultimate-ban-tracker/libvulkan.so.1.debug
|
||||
@@ -0,0 +1 @@
|
||||
../../../ultimate-ban-tracker/libGLESv2.so
|
||||
@@ -0,0 +1 @@
|
||||
../../usr/lib/ultimate-ban-tracker/libGLESv2.so.debug
|
||||
@@ -0,0 +1 @@
|
||||
../../../ultimate-ban-tracker/libvk_swiftshader.so
|
||||
@@ -0,0 +1 @@
|
||||
../../usr/lib/ultimate-ban-tracker/libvk_swiftshader.so.debug
|
||||
@@ -0,0 +1 @@
|
||||
../../../ultimate-ban-tracker/chrome_crashpad_handler
|
||||
@@ -0,0 +1 @@
|
||||
../../usr/lib/ultimate-ban-tracker/chrome_crashpad_handler.debug
|
||||
@@ -0,0 +1 @@
|
||||
../../../ultimate-ban-tracker/libffmpeg.so
|
||||
@@ -0,0 +1 @@
|
||||
../../usr/lib/ultimate-ban-tracker/libffmpeg.so.debug
|
||||
@@ -0,0 +1 @@
|
||||
../../../ultimate-ban-tracker/libEGL.so
|
||||
@@ -0,0 +1 @@
|
||||
../../usr/lib/ultimate-ban-tracker/libEGL.so.debug
|
||||
@@ -0,0 +1 @@
|
||||
../../../ultimate-ban-tracker/ultimate-ban-tracker-desktop
|
||||
@@ -0,0 +1 @@
|
||||
../../usr/lib/ultimate-ban-tracker/ultimate-ban-tracker-desktop.debug
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2074
pkg/ultimate-ban-tracker/.BUILDINFO
Normal file
2074
pkg/ultimate-ban-tracker/.BUILDINFO
Normal file
File diff suppressed because it is too large
Load Diff
BIN
pkg/ultimate-ban-tracker/.MTREE
Normal file
BIN
pkg/ultimate-ban-tracker/.MTREE
Normal file
Binary file not shown.
17
pkg/ultimate-ban-tracker/.PKGINFO
Normal file
17
pkg/ultimate-ban-tracker/.PKGINFO
Normal 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
|
||||
1
pkg/ultimate-ban-tracker/usr/bin/ultimate-ban-tracker
Symbolic link
1
pkg/ultimate-ban-tracker/usr/bin/ultimate-ban-tracker
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/lib/ultimate-ban-tracker/ultimate-ban-tracker
|
||||
@@ -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.
|
||||
281310
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/LICENSES.chromium.html
Normal file
281310
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/LICENSES.chromium.html
Normal file
File diff suppressed because it is too large
Load Diff
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/chrome-sandbox
Executable file
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/chrome-sandbox
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/chrome_crashpad_handler
Executable file
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/chrome_crashpad_handler
Executable file
Binary file not shown.
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/icudtl.dat
Normal file
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/icudtl.dat
Normal file
Binary file not shown.
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/libEGL.so
Executable file
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/libEGL.so
Executable file
Binary file not shown.
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/libGLESv2.so
Executable file
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/libGLESv2.so
Executable file
Binary file not shown.
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/libffmpeg.so
Executable file
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/libffmpeg.so
Executable file
Binary file not shown.
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/libvk_swiftshader.so
Executable file
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/libvk_swiftshader.so
Executable file
Binary file not shown.
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/libvulkan.so.1
Executable file
BIN
pkg/ultimate-ban-tracker/usr/lib/ultimate-ban-tracker/libvulkan.so.1
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user