PKGBUILD 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Contributor: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.26.2+9+ga3736d3a3
  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 caribou gcr gjs gnome-bluetooth gnome-menus upower
  11. gnome-session gnome-settings-daemon gnome-themes-standard gsettings-desktop-schemas
  12. libcanberra-pulse libcroco libgdm libsecret mutter nm-connection-editor
  13. unzip gstreamer)
  14. makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson)
  15. optdepends=('gnome-control-center: System settings'
  16. 'evolution-data-server: Evolution calendar integration')
  17. groups=(gnome)
  18. _commit=a3736d3a3951af8d5f67c3d0a961e5df9be7825f # gnome-3-26
  19. source=("git+https://git.gnome.org/browse/gnome-shell#commit=$_commit"
  20. "git+https://git.gnome.org/browse/libgnome-volume-control"
  21. "git+https://git.gnome.org/browse/gnome-shell-sass")
  22. sha256sums=('SKIP'
  23. 'SKIP'
  24. 'SKIP')
  25. pkgver() {
  26. cd $pkgname
  27. git describe --tags | sed 's/-/+/g'
  28. }
  29. prepare() {
  30. mkdir build
  31. cd $pkgname
  32. # Move the plugin to our custom epiphany-only dir
  33. sed -i "s/'mozilla'/'epiphany'/g" meson.build
  34. git submodule init
  35. git config --local submodule.src/gvc.url "$srcdir/libgnome-volume-control"
  36. git config --local submodule.data/theme/gnome-shell-sass.url "$srcdir/gnome-shell-sass"
  37. git submodule update
  38. }
  39. build() {
  40. cd build
  41. arch-meson ../$pkgname -Denable-documentation=true
  42. ninja
  43. }
  44. package() {
  45. cd build
  46. DESTDIR="$pkgdir" ninja install
  47. # Must exist; FS#37412
  48. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  49. }