feat/makepkg + project structure #12
@@ -1,24 +1,24 @@
|
|||||||
# Maintainer: Nils Pukropp <nils@narl.io>
|
# Maintainer: Nils Pukropp <nils@narl.io>
|
||||||
pkgname=ultimate-ban-tracker
|
pkgname=ultimate-ban-tracker
|
||||||
pkgver=1.3.3
|
pkgver=1.3.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Professional Steam Account Manager & Ban Tracker"
|
pkgdesc="Professional Steam Account Manager & Ban Tracker"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://narl.io"
|
url="https://narl.io"
|
||||||
license=('custom:Personal Use and Non-Commercial')
|
license=('custom:Personal Use and Non-Commercial')
|
||||||
depends=('electron' 'nodejs' 'npm')
|
depends=('electron' 'nodejs' 'npm' 'libxss' 'nss' 'libxtst')
|
||||||
makedepends=('imagemagick')
|
makedepends=('imagemagick')
|
||||||
source=("ultimate-ban-tracker-${pkgver}.tar.gz::https://git.narl.io/nvrl/ultimate-ban-tracker/archive/v${pkgver}.tar.gz")
|
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() {
|
build() {
|
||||||
|
# The Gitea archive usually extracts to a folder named after the repo
|
||||||
cd "${srcdir}/ultimate-ban-tracker"
|
cd "${srcdir}/ultimate-ban-tracker"
|
||||||
|
|
||||||
# Build frontend
|
|
||||||
cd frontend
|
cd frontend
|
||||||
npm install
|
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
|
convert -background none -size 512x512 assets-build/icon.svg assets-build/icon.png
|
||||||
|
|
||||||
# Build production
|
# Build production
|
||||||
@@ -37,19 +37,25 @@ package() {
|
|||||||
# Copy the unpacked linux build
|
# Copy the unpacked linux build
|
||||||
cp -r release/linux-unpacked/* "${pkgdir}/usr/lib/${pkgname}/"
|
cp -r release/linux-unpacked/* "${pkgdir}/usr/lib/${pkgname}/"
|
||||||
|
|
||||||
# Create symlink to binary
|
# Create a wrapper script instead of a direct symlink
|
||||||
ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
# 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
|
# Install Desktop Entry
|
||||||
cat > "${pkgdir}/usr/share/applications/${pkgname}.desktop" <<EOF
|
cat > "${pkgdir}/usr/share/applications/${pkgname}.desktop" <<EOF
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Ultimate Ban Tracker
|
Name=Ultimate Ban Tracker
|
||||||
Exec=/usr/bin/${pkgname}
|
Exec=/usr/bin/${pkgname} %U
|
||||||
Icon=${pkgname}
|
Icon=${pkgname}
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=Game;Utility;
|
Categories=Game;Utility;
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Comment=Professional Steam Account Manager & Ban Tracker
|
Comment=Professional Steam Account Manager & Ban Tracker
|
||||||
|
StartupWMClass=ultimate-ban-tracker
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Install Icon
|
# Install Icon
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"appId": "io.narl.ultimatebantracker",
|
"appId": "io.narl.ultimatebantracker",
|
||||||
"productName": "Ultimate Ban Tracker",
|
"productName": "Ultimate Ban Tracker",
|
||||||
|
"executableName": "ultimate-ban-tracker",
|
||||||
"copyright": "Copyright © 2026 Nils Pukropp",
|
"copyright": "Copyright © 2026 Nils Pukropp",
|
||||||
"directories": {
|
"directories": {
|
||||||
"output": "release"
|
"output": "release"
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -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
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../../../ultimate-ban-tracker/chrome-sandbox
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../../usr/lib/ultimate-ban-tracker/chrome-sandbox.debug
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../../../ultimate-ban-tracker/libvulkan.so.1
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../../usr/lib/ultimate-ban-tracker/libvulkan.so.1.debug
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../../../ultimate-ban-tracker/libGLESv2.so
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../../usr/lib/ultimate-ban-tracker/libGLESv2.so.debug
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../../../ultimate-ban-tracker/libvk_swiftshader.so
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../../usr/lib/ultimate-ban-tracker/libvk_swiftshader.so.debug
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../../../ultimate-ban-tracker/chrome_crashpad_handler
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../../usr/lib/ultimate-ban-tracker/chrome_crashpad_handler.debug
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../../../ultimate-ban-tracker/libffmpeg.so
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../../usr/lib/ultimate-ban-tracker/libffmpeg.so.debug
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../../../ultimate-ban-tracker/libEGL.so
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../../usr/lib/ultimate-ban-tracker/libEGL.so.debug
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../../../ultimate-ban-tracker/ultimate-ban-tracker-desktop
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../../usr/lib/ultimate-ban-tracker/ultimate-ban-tracker-desktop.debug
|
||||||
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
pkg/ultimate-ban-tracker-debug/usr/lib/debug/usr/lib/ultimate-ban-tracker/libvk_swiftshader.so.debug
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -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
|
||||||
@@ -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.
|
||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
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.
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