Files
longhornctl/PKGBUILD
ytshih 600c046b85
All checks were successful
Build package / build-package (push) Successful in 12s
Fix: use version variable in github release url
2025-07-31 07:45:18 +08:00

19 lines
497 B
Bash

# Maintainer: Yi-Ting Shih <ytshih@konchin.com>
pkgname=longhornctl
pkgver=1.9.0
pkgrel=2
pkgdesc="CLI tool for managing Longhorn"
arch=('x86_64')
url="https://gitea.konchin.com/package/longhornctl"
license=('0BSD')
source=(
"longhornctl::https://github.com/longhorn/cli/releases/download/v$pkgver/longhornctl-linux-amd64"
)
package() {
cd "$srcdir"
install -Dm755 longhornctl "$pkgdir/usr/bin/longhornctl"
}
sha256sums=('336f1ee8ac7cdd50382f1cc3131aa5c9fc5554a81de1ee65ba951534bc390272')