PKGBUILD 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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.30.0+19+g7778d1c30
  6. pkgrel=1
  7. pkgdesc="Next generation desktop shell"
  8. url="https://wiki.gnome.org/Projects/GnomeShell"
  9. arch=(x86_64)
  10. license=(GPL2)
  11. depends=(accountsservice gcr gjs gnome-bluetooth upower gnome-session gnome-settings-daemon
  12. gnome-themes-extra gsettings-desktop-schemas libcanberra-pulse libcroco libgdm libsecret
  13. mutter nm-connection-editor unzip gstreamer libibus)
  14. makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson
  15. sassc)
  16. optdepends=('gnome-control-center: System settings'
  17. 'evolution-data-server: Evolution calendar integration')
  18. groups=(gnome)
  19. _commit=7778d1c30839f63f9d31ea959f046f1888a03ec8 # master
  20. source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
  21. "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
  22. sha256sums=('SKIP'
  23. 'SKIP')
  24. pkgver() {
  25. cd $pkgname
  26. git describe --tags | sed 's/-/+/g'
  27. }
  28. prepare() {
  29. cd $pkgname
  30. # Move the plugin to our custom epiphany-only dir
  31. sed -i "s/'mozilla'/'epiphany'/g" meson.build
  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. }