PKGNAME=snapd
PKGSEC=admin
PKGDEP="squashfs-tools libseccomp systemd apparmor xdg-desktop-portal \
        bash-completion xdelta"
BUILDDEP="go libcap xfsprogs docutils"
PKGDES="Utilities to manage snap packages"

# FIXME: Limited architecture support.
#
# On LoongArch and MIPS:
#
# osutil/sys/runas.go:86:40: undefined: _SYS_SETREGID
# osutil/sys/runas.go:92:40: undefined: _SYS_SETREUID
# osutil/sys/runas.go:106:40: undefined: _SYS_SETREGID
# osutil/sys/runas.go:112:40: undefined: _SYS_SETREUID
# osutil/sys/syscall.go:46:22: undefined: _SYS_GETUID
# osutil/sys/syscall.go:50:22: undefined: _SYS_GETEUID
# osutil/sys/syscall.go:54:23: undefined: _SYS_GETGID
# osutil/sys/syscall.go:58:23: undefined: _SYS_GETEGID
FAIL_ARCH="!(amd64|arm64|ppc64el|riscv64)"
