pkgname=shotwell

post_install() {
  gtk-update-icon-cache -fq -t usr/share/icons/hicolor
  update-desktop-database -q
  glib-compile-schemas usr/share/glib-2.0/schemas
}

post_upgrade() {
  post_install $1
}

post_remove() {
  update-desktop-database -q
  gtk-update-icon-cache -fq -t usr/share/icons/hicolor
  glib-compile-schemas usr/share/glib-2.0/schemas
}