vinix-ports / ports / vinix-release-desktop / PKGBUILD.vile
21 lines · 20 sloc · 1.22 KB · c33d8afc2906b8dd9a8b905224eccd49a44f7ad5
Raw
1; Packages needed by the default desktop image during the Alpine replacement.
2; The Vinix image builder adds the kernel, compositor and native services.
3selected := get-environment-variable("VPAC_TARGET_ARCH")
4arch := if string?(selected) { selected } else if memq(string->symbol("aarch64"), features()) { "aarch64" } else { "x86_64" }
5musl := if string=?("aarch64", arch) { "musl>=1.2.6-4" } else { "musl>=1.2.6-2" }
6common := list(musl, "busybox>=1.38.0-5", "musl-utils", "ssl-client", "netbase",
7 "vinix-release", "vinix-filesystem>=0.1.0-2", "vinix-accounts", "vinix-keyring",
8 "ca-certificates", "curl", "git", "openssh-client", "vpac", "vinix-pkg", "xbps",
9 "zsh", "vim", "btop", "build-base",
10 if string=?(arch, "aarch64") { "vinix-desktop-init>=20261130-1" } else { "vinix-desktop-init" })
11
12defpkgbuild(vinix-release-desktop,
13 #:pkgname, "vinix-release-desktop",
14 #:pkgver, "20261130",
15 #:pkgrel, 2,
16 #:pkgdesc, "Base, network and toolchain packages for the Vinix desktop release",
17 #:arch, [#:x86-64, #:aarch64],
18 #:url, "https://github.com/vlang/vinix",
19 #:license, "0BSD",
20 #:depends, if string=?("x86_64", arch) { append(common, list("libuuid")) } else { common },
21 #:package, fn() {})
22