PKGBUILD 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
  2. # Contributor: Ionut Biru <ibiru@archlinux.org>
  3. # Contributor: Flamelab <panosfilip@gmail.com
  4. pkgname=gnome-shell
  5. pkgver=3.34.0
  6. pkgrel=1
  7. epoch=1
  8. pkgdesc="Next generation desktop shell"
  9. url="https://wiki.gnome.org/Projects/GnomeShell"
  10. arch=(x86_64)
  11. license=(GPL2)
  12. depends=(accountsservice gcr gjs gnome-bluetooth upower gnome-session gnome-settings-daemon
  13. gnome-themes-extra gsettings-desktop-schemas libcanberra-pulse libcroco libgdm libsecret
  14. mutter nm-connection-editor unzip gstreamer libibus gnome-autoar)
  15. makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson
  16. sassc asciidoc)
  17. optdepends=('gnome-control-center: System settings'
  18. 'evolution-data-server: Evolution calendar integration')
  19. groups=(gnome)
  20. install=gnome-shell.install
  21. _commit=9e388ebcfd48e2b659856cdf8138ebcddd3b02bc # tags/3.34.0^0
  22. source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
  23. "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
  24. sha256sums=('SKIP'
  25. 'SKIP')
  26. pkgver() {
  27. cd $pkgname
  28. git describe --tags | sed 's/-/+/g'
  29. }
  30. prepare() {
  31. cd $pkgname
  32. git submodule init
  33. git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
  34. git submodule update
  35. }
  36. build() {
  37. arch-meson $pkgname build -D gtk_doc=true
  38. ninja -C build
  39. }
  40. package() {
  41. DESTDIR="$pkgdir" meson install -C build
  42. # https://bugs.archlinux.org/task/37412
  43. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  44. }