Files
euri-packages/packages/calamares-branding-antergos-next-minimal/PKGBUILD
T
c-ludenberg 46c8c7149f fix(calamares-branding-antergos-next-minimal): add missing minimal-info.qml to PKGBUILD
The minimal-info.qml file existed in the package directory but was
never listed in the source array or copied in package(), so the
notesqml module couldn't find it and failed to load.
2026-07-08 21:01:05 +02:00

130 lines
4.6 KiB
Bash

# Maintainer: Celestia Ludenberg <ash8820@proton.me>
pkgname=calamares-branding-antergos-next-minimal
pkgver=1.0
pkgrel=1
pkgdesc="Calamares branding for Antergos NeXT Minimal (Xfce) with offline/online installer support"
arch=('any')
url="https://github.com/Antergos-NeXT"
license=('GPL3')
depends=('calamares' 'yad')
optdepends=('zenity: fallback for graphical mode chooser dialog')
source=("branding.desc"
"stylesheet.qss"
"show.qml"
"Dia.qml"
"Slider.qml"
"calamares-sidebar.qml"
"calamares-navigation.qml"
"background.jpg"
"pan-up-symbolic.svg"
"pan-end-symbolic.svg"
"pan-start-symbolic.svg"
"draw-rectangle.svg"
"unpackfs.conf"
"initcpiocfg.conf"
"initcpio.conf"
"antergos-logo.png"
"antergos-icon.png"
"netinstall.yaml"
"netinstall.conf"
"packagechooser.conf"
"welcome.conf"
"settings_offline.conf"
"settings_online.conf"
"minimal-info.qml"
"calamares-next.sh")
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
package() {
# Branding data (shared between offline/online)
local _brand="/usr/share/calamares/branding/antergos-next-minimal"
install -dm755 "${pkgdir}${_brand}"
cp "branding.desc" "${pkgdir}${_brand}/"
cp "stylesheet.qss" "${pkgdir}${_brand}/"
cp "show.qml" "${pkgdir}${_brand}/"
cp "Dia.qml" "${pkgdir}${_brand}/"
cp "Slider.qml" "${pkgdir}${_brand}/"
cp "calamares-sidebar.qml" "${pkgdir}${_brand}/"
cp "calamares-navigation.qml" "${pkgdir}${_brand}/"
cp "background.jpg" "${pkgdir}${_brand}/"
cp "pan-up-symbolic.svg" "${pkgdir}${_brand}/"
cp "pan-end-symbolic.svg" "${pkgdir}${_brand}/"
cp "pan-start-symbolic.svg" "${pkgdir}${_brand}/"
cp "draw-rectangle.svg" "${pkgdir}${_brand}/"
cp "antergos-logo.png" "${pkgdir}${_brand}/"
cp "antergos-icon.png" "${pkgdir}${_brand}/"
cp "minimal-info.qml" "${pkgdir}${_brand}/"
# Also overwrite default branding so Artix calamares package can't sneak in
local _defbrand="/usr/share/calamares/branding/default"
install -dm755 "${pkgdir}${_defbrand}"
cp "branding.desc" "${pkgdir}${_defbrand}/"
cp "show.qml" "${pkgdir}${_defbrand}/"
cp "Dia.qml" "${pkgdir}${_defbrand}/"
cp "Slider.qml" "${pkgdir}${_defbrand}/"
cp "calamares-sidebar.qml" "${pkgdir}${_defbrand}/"
cp "calamares-navigation.qml" "${pkgdir}${_defbrand}/"
cp "background.jpg" "${pkgdir}${_defbrand}/"
cp "pan-up-symbolic.svg" "${pkgdir}${_defbrand}/"
cp "pan-end-symbolic.svg" "${pkgdir}${_defbrand}/"
cp "pan-start-symbolic.svg" "${pkgdir}${_defbrand}/"
cp "draw-rectangle.svg" "${pkgdir}${_defbrand}/"
cp "antergos-logo.png" "${pkgdir}${_defbrand}/"
cp "antergos-icon.png" "${pkgdir}${_defbrand}/"
# Shared Calamares modules
install -dm755 "${pkgdir}/etc/calamares/modules"
cp "unpackfs.conf" "${pkgdir}/etc/calamares/modules/"
cp "initcpiocfg.conf" "${pkgdir}/etc/calamares/modules/"
cp "initcpio.conf" "${pkgdir}/etc/calamares/modules/"
cp "netinstall.conf" "${pkgdir}/etc/calamares/modules/"
cp "netinstall.yaml" "${pkgdir}/etc/calamares/modules/"
cp "packagechooser.conf" "${pkgdir}/etc/calamares/modules/"
cp "welcome.conf" "${pkgdir}/etc/calamares/modules/"
# Offline config directory
install -dm755 "${pkgdir}/etc/calamares-offline"
cp "settings_offline.conf" "${pkgdir}/etc/calamares-offline/settings.conf"
ln -sf "/usr/share/calamares/qml" "${pkgdir}/etc/calamares-offline/qml"
ln -sf "/usr/share/calamares/branding" "${pkgdir}/etc/calamares-offline/branding"
# Online config directory
install -dm755 "${pkgdir}/etc/calamares-online"
cp "settings_online.conf" "${pkgdir}/etc/calamares-online/settings.conf"
ln -sf "/usr/share/calamares/qml" "${pkgdir}/etc/calamares-online/qml"
ln -sf "/usr/share/calamares/branding" "${pkgdir}/etc/calamares-online/branding"
# Default: offline mode (for direct calamares launch)
install -dm755 "${pkgdir}/etc/calamares"
ln -sf "../calamares-offline/settings.conf" "${pkgdir}/etc/calamares/settings.conf"
ln -sf "/usr/share/calamares/branding" "${pkgdir}/etc/calamares/branding"
# Launcher script
install -dm755 "${pkgdir}/usr/bin"
install -m755 "calamares-next.sh" "${pkgdir}/usr/bin/calamares-next"
}