Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

AUR PKGBUILD: no tests in the package build (the suite needs the repository, not the tag tarball); CI installs it and runs sculptforge-cli instead

islandmed7d9f5d597516
diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml
index d166d51a..155f8108 100644
--- a/.github/workflows/arch.yml
+++ b/.github/workflows/arch.yml
@@ -1,8 +1,8 @@
name: Arch package
# packaging/arch/PKGBUILD (the AUR package) built from scratch in a clean Arch container, as an AUR user's makepkg
-# would: the release tag it names, Arch's own SDL3 and curl, check() included. namcap must find no errors in the
-# PKGBUILD or the package, and .SRCINFO must be what `makepkg --printsrcinfo` prints. Runs when packaging/arch
+# would: the release tag it names, Arch's own SDL3 and curl; the package installed, sculptforge-cli answering. namcap
+# must find no errors in the PKGBUILD or the package, and .SRCINFO must be what `makepkg --printsrcinfo` prints. Runs when packaging/arch
# changes (scripts/release.sh step aur bumps it on main each release) and by hand.
# The image is pinned by digest (update: the docker-content-digest of archlinux:base-devel).
@@ -36,7 +36,7 @@ jobs:
- name: .SRCINFO matches the PKGBUILD
working-directory: /home/builder/pkg
run: su builder -c 'makepkg --printsrcinfo' | diff -u .SRCINFO -
- - name: makepkg (dependencies from the Arch repositories, check() runs)
+ - name: makepkg (dependencies from the Arch repositories)
working-directory: /home/builder/pkg
run: su builder -c 'MAKEFLAGS=-j4 makepkg --syncdeps --noconfirm --cleanbuild'
- name: namcap
@@ -45,3 +45,9 @@ jobs:
namcap -i PKGBUILD | tee namcap.txt
namcap -i ./*.pkg.tar.zst | tee -a namcap.txt
! grep -E '^[^ ]+ E: ' namcap.txt
+ - name: Installed, the command-line tool answers
+ working-directory: /home/builder/pkg
+ run: |
+ pacman -U --noconfirm ./sculptforge-*.pkg.tar.zst
+ test -x /usr/bin/sculptforge
+ sculptforge-cli --schema > schema.json && grep -q '"open"' schema.json
diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD
index c4406e58..dd670fa4 100644
--- a/packaging/arch/PKGBUILD
+++ b/packaging/arch/PKGBUILD
@@ -25,6 +25,7 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DSCULPTFORGE_USE_SYSTEM_SDL=ON \
-DSCULPTFORGE_UPDATE_CHECK=OFF \
+ -DSCULPTFORGE_BUILD_TESTS=OFF \
-DSCULPTFORGE_WEBRTC=OFF \
-DSCULPTFORGE_MOLD=OFF \
-DFETCHCONTENT_FULLY_DISCONNECTED=ON \
@@ -33,9 +34,8 @@ build() {
cmake --build build
}
-check() {
- ctest --test-dir build --output-on-failure -LE ui
-}
+# No check(): the test suite needs the repository (demo assets, git history) that the tag tarball leaves out; the
+# release workflow runs it on these sources and smoke-tests the packages before the tag is published.
package() {
DESTDIR="$pkgdir" cmake --install build
diff --git a/packaging/arch/SUBMIT.md b/packaging/arch/SUBMIT.md
index d4e4e243..e10dc3f4 100644
--- a/packaging/arch/SUBMIT.md
+++ b/packaging/arch/SUBMIT.md
@@ -1,7 +1,7 @@
# Publishing sculptforge to the AUR (maintainer, once)
-What's ready: `PKGBUILD` (builds the release tag against Arch's SDL3 and curl, offline, `check()` runs the tests;
-namcap-clean and built in a clean Arch container by `.github/workflows/arch.yml`) and its `.SRCINFO`. The name
+What's ready: `PKGBUILD` (builds the release tag against Arch's SDL3 and curl, offline; built in a clean Arch
+container, namcap-clean, installed and smoke-tested by `.github/workflows/arch.yml`) and its `.SRCINFO`. The name
`sculptforge` is free on the AUR (https://aur.archlinux.org/packages/sculptforge was 404 on 2026-11-06).
## Before: an AUR account (browser, a minute)