ports/glib: Add init script to compile schemas

This commit is contained in:
2026-08-24 20:57:27 +03:00
parent b4349511f4
commit 48d8902e98
+9
View File
@@ -25,3 +25,12 @@ build() {
install() {
meson install --destdir="$DESTDIR" -C build || exit 1
}
post_install() {
mkdir -p "$DESTDIR/etc/init.d"
cat > "$DESTDIR/etc/init.d/glib-compile-schemas" << EOF
#!/bin/Shell
exec glib-compile-schemas /usr/share/glib-2.0/schemas
EOF
chmod +x "$DESTDIR/etc/init.d/glib-compile-schemas"
}