Add tobby-bin PKGBUILD v0.1.0

This commit is contained in:
Matheus Fillipe 2026-02-20 23:38:39 +01:00
commit a0ba14ba33
2 changed files with 71 additions and 0 deletions

23
.SRCINFO Normal file
View file

@ -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

48
PKGBUILD Normal file
View file

@ -0,0 +1,48 @@
# Maintainer: YOUR NAME <your@email.com>
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"
}