From a0ba14ba336e74b2a8b607fbd2384dbd0452fcba Mon Sep 17 00:00:00 2001 From: Matheus Fillipe Date: Fri, 20 Feb 2026 23:38:39 +0100 Subject: [PATCH] Add tobby-bin PKGBUILD v0.1.0 --- .SRCINFO | 23 +++++++++++++++++++++++ PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000000000..e7346cc1e4eef --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +# This file is auto-generated. Do NOT edit by hand. +# Regenerate on an Arch Linux machine with: +# makepkg --printsrcinfo > .SRCINFO + +pkgbase = tobby-bin + pkgdesc = The Terminal Obby — a modern IRC client for the terminal (pre-built binary) + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/OWNER/tobby + arch = x86_64 + arch = aarch64 + license = MIT + provides = tobby + conflicts = tobby + options = !strip + source = LICENSE::https://raw.githubusercontent.com/OWNER/tobby/v0.1.0/LICENSE + sha256sums = SKIP + source_x86_64 = tobby-0.1.0-x86_64::https://github.com/OWNER/tobby/releases/download/v0.1.0/tobby-x86_64-linux + sha256sums_x86_64 = SKIP + source_aarch64 = tobby-0.1.0-aarch64::https://github.com/OWNER/tobby/releases/download/v0.1.0/tobby-aarch64-linux + sha256sums_aarch64 = SKIP + +pkgname = tobby-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000000000..08d6be694c3af --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: YOUR NAME + +pkgname=tobby-bin +pkgver=0.1.0 +pkgrel=1 +pkgdesc="The Terminal Obby — a modern IRC client for the terminal (pre-built binary)" +arch=('x86_64' 'aarch64') +url="https://github.com/OWNER/tobby" +license=('MIT') +# The binary is produced by `bun build --compile`, which embeds the Bun +# runtime — no runtime dependencies needed. +depends=() +makedepends=() +provides=('tobby') +conflicts=('tobby') + +source=( + "LICENSE::https://raw.githubusercontent.com/OWNER/tobby/v${pkgver}/LICENSE" +) +sha256sums=( + 'SKIP' +) + +source_x86_64=( + "tobby-${pkgver}-x86_64::https://github.com/OWNER/tobby/releases/download/v${pkgver}/tobby-x86_64-linux" +) +sha256sums_x86_64=( + 'SKIP' +) + +source_aarch64=( + "tobby-${pkgver}-aarch64::https://github.com/OWNER/tobby/releases/download/v${pkgver}/tobby-aarch64-linux" +) +sha256sums_aarch64=( + 'SKIP' +) + +# Do NOT strip — bun --compile embeds the JS bytecode after the ELF sections +# in a non-standard layout that strip will corrupt. +options=('!strip') + +package() { + install -Dm755 "${srcdir}/tobby-${pkgver}-${CARCH}" \ + "${pkgdir}/usr/bin/tobby" + + install -Dm644 "${srcdir}/LICENSE" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}