post_install() {
    echo "Compile schemas"
    glib-compile-schemas "$pkgdir/usr/share/glib-2.0/schemas"
}

post_upgrade() {
  post_install "$@"
}