packaging: use local Arch release archive
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user