PKGBUILD 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.32.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)
  15. makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson
  16. sassc)
  17. optdepends=('gnome-control-center: System settings'
  18. 'evolution-data-server: Evolution calendar integration')
  19. groups=(gnome)
  20. _commit=47915f8c1117470e5351a8ec4e4bdac5e683498d # tags/3.32.0^0
  21. source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
  22. "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
  23. sha256sums=('SKIP'
  24. 'SKIP')
  25. pkgver() {
  26. cd $pkgname
  27. git describe --tags | sed 's/-/+/g'
  28. }
  29. prepare() {
  30. cd $pkgname
  31. # Move the plugin to our custom epiphany-only dir
  32. sed -i "s/'mozilla'/'epiphany'/g" meson.build
  33. git submodule init
  34. git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
  35. git submodule update
  36. }
  37. build() {
  38. arch-meson $pkgname build -D gtk_doc=true
  39. ninja -C build
  40. }
  41. package() {
  42. DESTDIR="$pkgdir" meson install -C build
  43. # https://bugs.archlinux.org/task/37412
  44. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  45. }