Add packaging for all major package managers
- Snap (snapcraft.yaml) - Ubuntu, Mint, Fedora - Flatpak manifest - Fedora, most distros - AUR PKGBUILD - Arch/Manjaro - Homebrew formula - macOS/Linux - Debian .deb build script - Ubuntu/Debian - winget manifest - Windows Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# Maintainer: Cryptographic Triangles Team
|
||||
pkgname=triangles-qt-bin
|
||||
pkgver=5.1.4
|
||||
pkgrel=1
|
||||
pkgdesc="Cryptographic Triangles (TRI) cryptocurrency wallet - Qt GUI"
|
||||
arch=('x86_64')
|
||||
url="https://cryptographic-triangles.org"
|
||||
license=('MIT')
|
||||
depends=('qt5-base' 'openssl' 'boost-libs' 'db' 'leveldb' 'libevent' 'miniupnpc' 'tor')
|
||||
optdepends=('tor: anonymous networking support')
|
||||
provides=('triangles-qt' 'trianglesd')
|
||||
conflicts=('triangles-qt' 'trianglesd')
|
||||
source=(
|
||||
"triangles-qt-${pkgver}::https://github.com/SamiAhmed7777/triangles_v5/releases/download/v${pkgver}/triangles-qt-linux"
|
||||
"trianglesd-${pkgver}::https://github.com/SamiAhmed7777/triangles_v5/releases/download/v${pkgver}/trianglesd-linux"
|
||||
"triangles-qt.desktop"
|
||||
)
|
||||
sha256sums=(
|
||||
'19eaadfdf18b899ce8434fe714e690e2db0546597e36037de37a29854fc23aeb'
|
||||
'6f5c19d34a2e1f6cdadee095d9e11b25d18b41a0d1602a163ffca7ec80b3da37'
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
package() {
|
||||
install -Dm755 "triangles-qt-${pkgver}" "${pkgdir}/usr/bin/triangles-qt"
|
||||
install -Dm755 "trianglesd-${pkgver}" "${pkgdir}/usr/bin/trianglesd"
|
||||
install -Dm644 "triangles-qt.desktop" "${pkgdir}/usr/share/applications/triangles-qt.desktop"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Name=Cryptographic Triangles
|
||||
GenericName=TRI Wallet
|
||||
Comment=Cryptographic Triangles cryptocurrency wallet
|
||||
Exec=triangles-qt %u
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=triangles
|
||||
MimeType=x-scheme-handler/triangles;
|
||||
Categories=Finance;Network;P2P;Qt;
|
||||
StartupNotify=true
|
||||
@@ -0,0 +1,16 @@
|
||||
Package: triangles
|
||||
Version: 5.1.4-1
|
||||
Section: net
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Depends: libqt5widgets5, libqt5gui5, libqt5core5a, libqt5network5, libssl3, libdb5.3++, libboost-system1.74.0, libboost-filesystem1.74.0, libboost-program-options1.74.0, libboost-thread1.74.0, libboost-chrono1.74.0, libevent-2.1-7, libminiupnpc17
|
||||
Recommends: tor
|
||||
Maintainer: Cryptographic Triangles Team <dev@cryptographic-triangles.org>
|
||||
Homepage: https://cryptographic-triangles.org
|
||||
Description: Cryptographic Triangles (TRI) cryptocurrency wallet
|
||||
Privacy-focused cryptocurrency featuring Proof-of-Stake consensus
|
||||
with 33% annual staking rewards, Tor v3 onion routing, and built-in
|
||||
encrypted peer-to-peer messaging.
|
||||
.
|
||||
This package contains the Qt GUI wallet (triangles-qt) and the
|
||||
headless daemon (trianglesd).
|
||||
@@ -0,0 +1,45 @@
|
||||
#!/bin/bash
|
||||
# Build .deb package for Cryptographic Triangles
|
||||
# Run from the packaging/debian directory
|
||||
set -e
|
||||
|
||||
VERSION="5.1.4"
|
||||
PKGDIR="triangles_${VERSION}-1_amd64"
|
||||
RELEASE_URL="https://github.com/SamiAhmed7777/triangles_v5/releases/download/v${VERSION}"
|
||||
|
||||
echo "Building .deb package for Triangles v${VERSION}..."
|
||||
|
||||
# Create directory structure
|
||||
rm -rf "$PKGDIR"
|
||||
mkdir -p "$PKGDIR/DEBIAN"
|
||||
mkdir -p "$PKGDIR/usr/bin"
|
||||
mkdir -p "$PKGDIR/usr/share/applications"
|
||||
|
||||
# Copy control file
|
||||
cp DEBIAN/control "$PKGDIR/DEBIAN/"
|
||||
|
||||
# Download binaries
|
||||
echo "Downloading binaries..."
|
||||
curl -L -o "$PKGDIR/usr/bin/triangles-qt" "${RELEASE_URL}/triangles-qt-linux"
|
||||
curl -L -o "$PKGDIR/usr/bin/trianglesd" "${RELEASE_URL}/trianglesd-linux"
|
||||
chmod 755 "$PKGDIR/usr/bin/triangles-qt" "$PKGDIR/usr/bin/trianglesd"
|
||||
|
||||
# Create desktop entry
|
||||
cat > "$PKGDIR/usr/share/applications/triangles-qt.desktop" << 'DESKTOP'
|
||||
[Desktop Entry]
|
||||
Name=Cryptographic Triangles
|
||||
GenericName=TRI Wallet
|
||||
Comment=Cryptographic Triangles cryptocurrency wallet
|
||||
Exec=triangles-qt %u
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=triangles
|
||||
MimeType=x-scheme-handler/triangles;
|
||||
Categories=Finance;Network;P2P;Qt;
|
||||
StartupNotify=true
|
||||
DESKTOP
|
||||
|
||||
# Build the .deb
|
||||
dpkg-deb --build "$PKGDIR"
|
||||
echo "Package built: ${PKGDIR}.deb"
|
||||
echo "Install with: sudo dpkg -i ${PKGDIR}.deb && sudo apt-get install -f"
|
||||
@@ -0,0 +1,38 @@
|
||||
app-id: org.cryptographic_triangles.TrianglesQt
|
||||
runtime: org.kde.Platform
|
||||
runtime-version: '5.15-23.08'
|
||||
sdk: org.kde.Sdk
|
||||
command: triangles-qt
|
||||
finish-args:
|
||||
- --share=ipc
|
||||
- --share=network
|
||||
- --socket=x11
|
||||
- --socket=wayland
|
||||
- --socket=fallback-x11
|
||||
- --filesystem=home
|
||||
- --device=dri
|
||||
- --talk-name=org.freedesktop.Notifications
|
||||
|
||||
modules:
|
||||
- name: triangles-qt
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install -Dm755 triangles-qt-linux /app/bin/triangles-qt
|
||||
- install -Dm644 triangles-qt.desktop /app/share/applications/org.cryptographic_triangles.TrianglesQt.desktop
|
||||
sources:
|
||||
- type: file
|
||||
url: https://github.com/SamiAhmed7777/triangles_v5/releases/download/v5.1.4/triangles-qt-linux
|
||||
sha256: 19eaadfdf18b899ce8434fe714e690e2db0546597e36037de37a29854fc23aeb
|
||||
dest-filename: triangles-qt-linux
|
||||
- type: file
|
||||
path: triangles-qt.desktop
|
||||
|
||||
- name: trianglesd
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install -Dm755 trianglesd-linux /app/bin/trianglesd
|
||||
sources:
|
||||
- type: file
|
||||
url: https://github.com/SamiAhmed7777/triangles_v5/releases/download/v5.1.4/trianglesd-linux
|
||||
sha256: 6f5c19d34a2e1f6cdadee095d9e11b25d18b41a0d1602a163ffca7ec80b3da37
|
||||
dest-filename: trianglesd-linux
|
||||
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Name=Cryptographic Triangles
|
||||
GenericName=TRI Wallet
|
||||
Comment=Cryptographic Triangles cryptocurrency wallet
|
||||
Exec=triangles-qt %u
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=org.cryptographic_triangles.TrianglesQt
|
||||
MimeType=x-scheme-handler/triangles;
|
||||
Categories=Finance;Network;P2P;Qt;
|
||||
StartupNotify=true
|
||||
@@ -0,0 +1,28 @@
|
||||
class Triangles < Formula
|
||||
desc "Cryptographic Triangles (TRI) cryptocurrency wallet and daemon"
|
||||
homepage "https://cryptographic-triangles.org"
|
||||
license "MIT"
|
||||
version "5.1.4"
|
||||
|
||||
on_linux do
|
||||
url "https://github.com/SamiAhmed7777/triangles_v5/releases/download/v5.1.4/trianglesd-linux"
|
||||
sha256 "6f5c19d34a2e1f6cdadee095d9e11b25d18b41a0d1602a163ffca7ec80b3da37"
|
||||
end
|
||||
|
||||
depends_on "openssl@3"
|
||||
depends_on :linux
|
||||
|
||||
def install
|
||||
bin.install "trianglesd-linux" => "trianglesd"
|
||||
end
|
||||
|
||||
service do
|
||||
run [opt_bin/"trianglesd", "-daemon=0"]
|
||||
keep_alive true
|
||||
working_dir var/"triangles"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/trianglesd", "-version"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,33 @@
|
||||
PackageIdentifier: CryptographicTriangles.TrianglesQt
|
||||
PackageVersion: 5.1.4
|
||||
PackageLocale: en-US
|
||||
Publisher: Cryptographic Triangles
|
||||
PublisherUrl: https://cryptographic-triangles.org
|
||||
PackageName: Cryptographic Triangles Qt Wallet
|
||||
License: MIT
|
||||
ShortDescription: Privacy-focused cryptocurrency wallet with PoS staking, Tor v3, and encrypted messaging.
|
||||
Description: |-
|
||||
Cryptographic Triangles (TRI) is a privacy-focused cryptocurrency featuring
|
||||
Proof-of-Stake consensus with 33% annual staking rewards, Tor v3 onion routing,
|
||||
and built-in encrypted peer-to-peer messaging. Originally launched in July 2014,
|
||||
featuring the unique Hash9 algorithm (13-step hash cascade).
|
||||
Tags:
|
||||
- crypto
|
||||
- cryptocurrency
|
||||
- wallet
|
||||
- blockchain
|
||||
- staking
|
||||
- privacy
|
||||
- tor
|
||||
Installers:
|
||||
- Architecture: x64
|
||||
InstallerType: zip
|
||||
NestedInstallerType: portable
|
||||
NestedInstallerFiles:
|
||||
- RelativeFilePath: triangles-qt.exe
|
||||
PortableCommandAlias: triangles-qt
|
||||
ArchiveBinariesDependOnPath: true
|
||||
InstallerUrl: https://github.com/SamiAhmed7777/triangles_v5/releases/download/v5.1.4/Triangles-v5.1.4-win-x64.zip
|
||||
InstallerSha256: 777e475f366164b342e917111bcf3155ec39e0ab4bd97b2ac295885ad30a93c6
|
||||
ManifestType: singleton
|
||||
ManifestVersion: 1.6.0
|
||||
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Name=Cryptographic Triangles
|
||||
GenericName=TRI Wallet
|
||||
Comment=Cryptographic Triangles cryptocurrency wallet
|
||||
Exec=triangles-qt %u
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=${SNAP}/snap/gui/triangles.png
|
||||
MimeType=x-scheme-handler/triangles;
|
||||
Categories=Finance;Network;P2P;Qt;
|
||||
StartupNotify=true
|
||||
StartupWMClass=triangles-qt
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
@@ -0,0 +1,85 @@
|
||||
name: triangles
|
||||
base: core22
|
||||
version: '5.1.4'
|
||||
summary: Cryptographic Triangles (TRI) cryptocurrency wallet
|
||||
description: |
|
||||
Privacy-focused cryptocurrency featuring Proof-of-Stake consensus,
|
||||
Tor v3 onion routing, and built-in encrypted messaging.
|
||||
|
||||
Features:
|
||||
- Proof-of-Stake with 33% annual staking rewards
|
||||
- Hash9 algorithm (13-step hash cascade)
|
||||
- Encrypted peer-to-peer messaging
|
||||
- Tor v3 integration for anonymous transactions
|
||||
|
||||
Website: https://cryptographic-triangles.org
|
||||
|
||||
grade: stable
|
||||
confinement: strict
|
||||
license: MIT
|
||||
icon: snap/gui/triangles.png
|
||||
|
||||
architectures:
|
||||
- build-on: amd64
|
||||
|
||||
apps:
|
||||
triangles-qt:
|
||||
command: bin/triangles-qt
|
||||
desktop: share/applications/triangles-qt.desktop
|
||||
plugs:
|
||||
- desktop
|
||||
- desktop-legacy
|
||||
- wayland
|
||||
- x11
|
||||
- opengl
|
||||
- network
|
||||
- network-bind
|
||||
- home
|
||||
- removable-media
|
||||
environment:
|
||||
DISABLE_WAYLAND: 1
|
||||
|
||||
trianglesd:
|
||||
command: bin/trianglesd
|
||||
daemon: simple
|
||||
plugs:
|
||||
- network
|
||||
- network-bind
|
||||
- home
|
||||
install-mode: disable
|
||||
|
||||
parts:
|
||||
triangles:
|
||||
plugin: dump
|
||||
source: https://github.com/SamiAhmed7777/triangles_v5/releases/download/v5.1.4/triangles-qt-linux
|
||||
source-type: file
|
||||
organize:
|
||||
triangles-qt-linux: bin/triangles-qt
|
||||
stage-packages:
|
||||
- libqt5widgets5
|
||||
- libqt5gui5
|
||||
- libqt5core5a
|
||||
- libqt5network5
|
||||
- libssl3
|
||||
- libdb5.3++
|
||||
- libboost-system1.74.0
|
||||
- libboost-filesystem1.74.0
|
||||
- libboost-program-options1.74.0
|
||||
- libboost-thread1.74.0
|
||||
- libboost-chrono1.74.0
|
||||
- libevent-2.1-7
|
||||
- libminiupnpc17
|
||||
- tor
|
||||
|
||||
trianglesd:
|
||||
plugin: dump
|
||||
source: https://github.com/SamiAhmed7777/triangles_v5/releases/download/v5.1.4/trianglesd-linux
|
||||
source-type: file
|
||||
organize:
|
||||
trianglesd-linux: bin/trianglesd
|
||||
|
||||
desktop-entry:
|
||||
plugin: dump
|
||||
source: snap/gui
|
||||
organize:
|
||||
triangles-qt.desktop: share/applications/triangles-qt.desktop
|
||||
Reference in New Issue
Block a user