PKGBUILD 1.5 KB

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