mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
33 lines
1.4 KiB
Bash
33 lines
1.4 KiB
Bash
# Maintainer: Wendy Labs Inc. <support@wendy.sh>
|
|
pkgname=wendy-agent
|
|
_pkgver=2026.01.27-103450
|
|
pkgver=${_pkgver//-/_}
|
|
pkgrel=1
|
|
pkgdesc="Wendy Agent - Runs on target devices for remote debugging and deployment"
|
|
arch=('x86_64' 'aarch64')
|
|
url="https://wendy.sh"
|
|
license=('custom:proprietary')
|
|
provides=('wendy-agent')
|
|
conflicts=('wendy-agent-git')
|
|
backup=('etc/wendy-agent/config.yaml')
|
|
|
|
source_x86_64=("${pkgname}-${_pkgver}-x86_64.tar.gz::https://github.com/wendylabsinc/wendy-agent/releases/download/${_pkgver}/wendy-agent-linux-static-musl-x86_64-${_pkgver}.tar.gz")
|
|
source_aarch64=("${pkgname}-${_pkgver}-aarch64.tar.gz::https://github.com/wendylabsinc/wendy-agent/releases/download/${_pkgver}/wendy-agent-linux-static-musl-aarch64-${_pkgver}.tar.gz")
|
|
|
|
# Checksums will be updated by CI
|
|
sha256sums_x86_64=('880436e38c2bb65ee3fbff519e6e221ea9ae5117a073573faefca3a350339519')
|
|
sha256sums_aarch64=('a04cd44087846dcafae57357f248e65bff047cc224c2c015312b0615e0262dfb')
|
|
|
|
package() {
|
|
cd "${srcdir}"
|
|
|
|
# Find the extracted directory and install binary
|
|
if [[ "${CARCH}" == "x86_64" ]]; then
|
|
install -Dm755 "wendy-agent-linux-static-musl-x86_64/wendy-agent" "${pkgdir}/usr/bin/wendy-agent"
|
|
else
|
|
install -Dm755 "wendy-agent-linux-static-musl-aarch64/wendy-agent" "${pkgdir}/usr/bin/wendy-agent"
|
|
fi
|
|
|
|
# Create config directory
|
|
install -dm755 "${pkgdir}/etc/wendy-agent"
|
|
}
|