Package Details: gnome-shell-extension-hibernate-status 1.6-1

Git Clone URL: https://aur.archlinux.org/gnome-shell-extension-hibernate-status.git (read-only, click to copy)
Package Base: gnome-shell-extension-hibernate-status
Description: Gnome Shell extension that adds a hibernate/hybrid suspend button in Status menu.
Upstream URL: https://github.com/arelange/gnome-shell-extension-hibernate-status
Licenses: GPL
Conflicts: gnome-shell-extension-hibernate-status-git
Submitter: mars
Maintainer: None
Last Packager: mars
Votes: 0
Popularity: 0.000000
First Submitted: 2020-05-06 17:36
Last Updated: 2020-05-31 10:21

Latest Comments

yochananmarqos commented on 2020-10-10 21:18

  • The install file is not necessary. Pacman has had a glib-compile-schemas hook since 5.0.
  • The conflicts() array is not necessary.
  • The schemas XML should be installed in /usr/share/glib-2.0/schemas/. EDIT: However, it doesn't matter as much since the compiled schemas isn't detected there.
build() {
  cd "$pkgname-$pkgver"

  # Extension won't detect compiled schemas in /usr/share/glib-2.0/schemas
  glib-compile-schemas schemas
}

package() {
  _uuid='hibernate-status@dromi'

  cd "$pkgname-$pkgver"
  install -Dm644 schemas/*.xml -t "$pkgdir/usr/share/glib-2.0/schemas"
  install -Dm644 schemas/*.compiled -t \
    "$pkgdir/usr/share/gnome-shell/extensions/$_uuid/schemas"
  install -m644 *.js *.json -t "$pkgdir/usr/share/gnome-shell/extensions/$_uuid"
}