chore(release): update source archive format and URLs
Some checks failed
Release / test (push) Successful in -30m28s
Release / release (push) Successful in -29m36s
Release / pkg-aur (push) Failing after -31m0s
Release / pkg-arch (push) Failing after -30m36s
Release / pkg-deb (push) Successful in -30m6s
Release / pkg-rpm (push) Failing after -30m27s

* Change source archive from tar.gz to zip for Arch packaging
* Update URLs in PKGBUILD and spec files to point to the correct repository
This commit is contained in:
Hein
2026-04-08 15:09:33 +02:00
parent 2c0f51422e
commit e66f869752
3 changed files with 62 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ pkgver=0.1.0
pkgrel=1
pkgdesc="A door you open and close for container units — manage containers via systemd"
arch=('x86_64' 'aarch64')
url="https://warky.dev"
url="https://git.warky.dev/wdevs/unitdore"
license=('MIT')
depends=('systemd')
optdepends=(
@@ -13,11 +13,11 @@ optdepends=(
)
makedepends=('go')
backup=('etc/unitdore/units.yaml')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
source=("$pkgname-$pkgver.zip::$url/archive/v$pkgver.zip")
sha256sums=('SKIP')
build() {
cd "$pkgname"
cd "$pkgname-v$pkgver"
export CGO_ENABLED=0
go build \
-trimpath \
@@ -26,12 +26,12 @@ build() {
}
check() {
cd "$pkgname"
cd "$pkgname-v$pkgver"
go test ./...
}
package() {
cd "$pkgname"
cd "$pkgname-v$pkgver"
# Binary
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"

View File

@@ -4,7 +4,7 @@ Release: 1%{?dist}
Summary: Manage container units via systemd
License: MIT
URL: https://warky.dev
URL: https://git.warky.dev/wdevs/unitdore
Source0: %{name}-%{version}.tar.gz
BuildRequires: golang >= 1.23