packaging: use local Arch release archive

This commit is contained in:
dela
2026-06-10 15:21:42 +08:00
parent 1c8fc988b6
commit 5a4ab5b106
3 changed files with 15 additions and 11 deletions

View File

@@ -2,7 +2,7 @@ pkgbase = qemby
pkgdesc = Desktop client for Emby and Jellyfin media servers pkgdesc = Desktop client for Emby and Jellyfin media servers
pkgver = 0.0.5 pkgver = 0.0.5
pkgrel = 1 pkgrel = 1
url = https://github.com/AlanHJ/qEmby url = https://github.com/qEmby/qEmby
arch = x86_64 arch = x86_64
license = MIT license = MIT
makedepends = cmake makedepends = cmake
@@ -19,7 +19,7 @@ pkgbase = qemby
depends = qt6-svg depends = qt6-svg
depends = qt6-websockets depends = qt6-websockets
depends = spdlog 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 sha256sums = SKIP
pkgname = qemby pkgname = qemby

View File

@@ -5,7 +5,7 @@ pkgver=0.0.5
pkgrel=1 pkgrel=1
pkgdesc="Desktop client for Emby and Jellyfin media servers" pkgdesc="Desktop client for Emby and Jellyfin media servers"
arch=('x86_64') arch=('x86_64')
url="https://github.com/AlanHJ/qEmby" url="https://github.com/qEmby/qEmby"
license=('MIT') license=('MIT')
depends=( depends=(
'fmt' 'fmt'
@@ -25,7 +25,9 @@ makedepends=(
'pkgconf' 'pkgconf'
'qt6-tools' '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') sha256sums=('SKIP')
build() { build() {

View File

@@ -1,18 +1,20 @@
# Arch package # Arch package
This PKGBUILD is intended for Arch Linux and AUR-style release packaging. It This PKGBUILD is intended for Arch Linux local release packaging. It builds
builds from the project release tag, uses Arch system libraries, and disables from a local source archive exported from this repository, uses Arch system
FetchContent so package builds do not download dependencies during CMake libraries, and disables FetchContent so package builds do not download
configure. dependencies during CMake configure.
Before publishing a release package, replace the temporary `SKIP` checksum in Before publishing an AUR-style release package, switch `source` to the new
`PKGBUILD` with a real checksum, for example by running `updpkgsums` after the repository's versioned tag archive and replace the temporary `SKIP` checksum
tag archive is available. with a real checksum, for example by running `updpkgsums` after the tag archive
is available.
## Build ## Build
```fish ```fish
cd packaging/arch cd packaging/arch
git archive --format=tar.gz --prefix=qEmby-0.0.5/ -o qemby-0.0.5.tar.gz HEAD
makepkg -f makepkg -f
``` ```