SysDeck/packaging/PKGBUILD

58 lines
2.5 KiB
Bash
Executable File

# Maintainer: Jeremy Anderson <info@dcos.net>
# Contributor: Jeremy Anderson <info@dcos.net>
# Upstream: https://dcos.net
pkgname=sysdeck
pkgver=0.4.6
pkgrel=1
pkgdesc="Unified operations surface for Linux infrastructure — the Cockpit plugin edition: 27 domain modules plus the Python bridge (the standalone web console ships in the master tarball)"
arch=('any')
url="https://dcos.net"
license=('MIT')
depends=('cockpit' 'python>=3.9')
optdepends=(
'podman: container management panel'
'nftables: firewall rules panel'
'lynis: integrity audit panel'
'iproute2: network security panel'
'kubectl: service mesh topology panel'
'cryptsetup: LUKS vault management panel'
'fwupd: firmware update panel'
'tpm2-tools: TPM firmware panel'
'mkosi: image builder panel (Arch primary)'
'archiso: bootable Arch Live ISO builder'
'opensc: PKCS#11 smartcard auth panel'
'pcsclite: smartcard reader daemon'
'glances: system monitoring panel'
'lm_sensors: hardware sensor readings panel'
'sysbench: system benchmark panel'
'kata-containers: Kata Containers panel (SysDeck Kata)'
'jellyfin: Jellyfin media server panel (SysDeck Jellyfin)'
'photoprism: PhotoPrism photo manager backend (SysDeck Photos)'
'piwigo: Piwigo photo manager backend (SysDeck Photos)'
'lychee: Lychee photo manager backend (SysDeck Photos)'
'librephotos: LibrePhotos photo manager backend (SysDeck Photos)'
'ceph: Ceph distributed filesystem backend (SysDeck Remote FS)'
'glusterfs: GlusterFS scale-out filesystem backend (SysDeck Remote FS)'
'moosefs: MooseFS distributed filesystem backend (SysDeck Remote FS)'
'beegfs: BeeGFS parallel filesystem backend (SysDeck Remote FS)'
'orangefs: OrangeFS parallel filesystem backend (SysDeck Remote FS)'
'polkit: privilege escalation for bridge helpers (strongly recommended)'
'appstream: application metadata for Cockpit Applications menu',
'bash: for sysdeck-diagnose.sh and cockpit-smoke-test.sh'
)
makedepends=('make')
backup=()
install=sysdeck.install
source=("${pkgname}-${pkgver}.tar.bz2")
sha256sums=('e579dc82aca5f3def1d6a3df6bcc7671b9dd3b30e78dd710f6ea14a93f3c176b')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make install DESTDIR="${pkgdir}"
# No python site-packages symlink: the bridge's invocation contract
# is `python3 /usr/lib/sysdeck/bridge/<mod>.py <sub>` by absolute
# path (check-no-broken-python-module enforces it), so no import
# path needs to resolve.
}