From 8060edfb21a7bc5874343f0b464258dd8ca07af4 Mon Sep 17 00:00:00 2001 From: Felitendo <95575686+Felitendo@users.noreply.github.com> Date: Mon, 28 Sep 2026 11:28:16 +0200 Subject: [PATCH] timetable-git: publish only once adoption is granted --- timetable-git/pkg.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/timetable-git/pkg.sh b/timetable-git/pkg.sh index 98a3646..2667961 100644 --- a/timetable-git/pkg.sh +++ b/timetable-git/pkg.sh @@ -11,6 +11,16 @@ # the package is rebuilt, re-checked and pushed only when the packaging itself # changes. makepkg then refreshes the pkgver snapshot as part of the test build. +# The AUR name once belonged to an unrelated package that was deleted. It was +# restored as an orphan and an adoption request filed; pushes fail until a +# Package Maintainer grants it. So publish only once the AUR lists us as the +# maintainer. After that this check can go. +AUR_PUBLISH=false +if [[ "$(curl -sf "https://aur.archlinux.org/rpc/v5/info/timetable-git" \ + | jq -r '.results[0].Maintainer')" == "Felitendo" ]]; then + AUR_PUBLISH=true +fi + # Installed in CI (pacman) before the makepkg test build. BUILD_DEPS=(meson ninja glib2 glib2-devel gtk4 libadwaita python python-gobject gettext git)