From 5a4ab5b106d24fb564cd4a8dd2a471340494980c Mon Sep 17 00:00:00 2001 From: dela Date: Wed, 10 Jun 2026 15:21:42 +0800 Subject: [PATCH] packaging: use local Arch release archive --- packaging/arch/.SRCINFO | 4 ++-- packaging/arch/PKGBUILD | 6 ++++-- packaging/arch/README.md | 16 +++++++++------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/packaging/arch/.SRCINFO b/packaging/arch/.SRCINFO index cb3ef91..cd15bf6 100644 --- a/packaging/arch/.SRCINFO +++ b/packaging/arch/.SRCINFO @@ -2,7 +2,7 @@ pkgbase = qemby pkgdesc = Desktop client for Emby and Jellyfin media servers pkgver = 0.0.5 pkgrel = 1 - url = https://github.com/AlanHJ/qEmby + url = https://github.com/qEmby/qEmby arch = x86_64 license = MIT makedepends = cmake @@ -19,7 +19,7 @@ pkgbase = qemby depends = qt6-svg depends = qt6-websockets depends = spdlog - source = qemby-0.0.5.tar.gz::https://github.com/AlanHJ/qEmby/archive/refs/tags/v0.0.5.tar.gz + source = qemby-0.0.5.tar.gz sha256sums = SKIP pkgname = qemby diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index c457fa0..057d6e0 100644 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -5,7 +5,7 @@ pkgver=0.0.5 pkgrel=1 pkgdesc="Desktop client for Emby and Jellyfin media servers" arch=('x86_64') -url="https://github.com/AlanHJ/qEmby" +url="https://github.com/qEmby/qEmby" license=('MIT') depends=( 'fmt' @@ -25,7 +25,9 @@ makedepends=( 'pkgconf' 'qt6-tools' ) -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") +# Build from a local release archive exported from this repository until the +# new repository has published versioned release tags. +source=("${pkgname}-${pkgver}.tar.gz") sha256sums=('SKIP') build() { diff --git a/packaging/arch/README.md b/packaging/arch/README.md index d190d62..7a04134 100644 --- a/packaging/arch/README.md +++ b/packaging/arch/README.md @@ -1,18 +1,20 @@ # Arch package -This PKGBUILD is intended for Arch Linux and AUR-style release packaging. It -builds from the project release tag, uses Arch system libraries, and disables -FetchContent so package builds do not download dependencies during CMake -configure. +This PKGBUILD is intended for Arch Linux local release packaging. It builds +from a local source archive exported from this repository, uses Arch system +libraries, and disables FetchContent so package builds do not download +dependencies during CMake configure. -Before publishing a release package, replace the temporary `SKIP` checksum in -`PKGBUILD` with a real checksum, for example by running `updpkgsums` after the -tag archive is available. +Before publishing an AUR-style release package, switch `source` to the new +repository's versioned tag archive and replace the temporary `SKIP` checksum +with a real checksum, for example by running `updpkgsums` after the tag archive +is available. ## Build ```fish cd packaging/arch +git archive --format=tar.gz --prefix=qEmby-0.0.5/ -o qemby-0.0.5.tar.gz HEAD makepkg -f ```