PKGBUILD 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
  2. # Contributor: Ionut Biru <ibiru@archlinux.org>
  3. # Contributor: Flamelab <panosfilip@gmail.com
  4. pkgname=gnome-shell
  5. pkgver=3.38.2+22+g3a343a8aa
  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
  13. gnome-settings-daemon gnome-themes-extra gsettings-desktop-schemas
  14. libcanberra-pulse libgdm libsecret mutter nm-connection-editor unzip
  15. gstreamer libibus gnome-autoar gnome-disk-utility gst-plugin-pipewire)
  16. makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson
  17. sassc asciidoc bash-completion)
  18. optdepends=('gnome-control-center: System settings'
  19. 'evolution-data-server: Evolution calendar integration')
  20. groups=(gnome)
  21. install=gnome-shell.install
  22. _commit=3a343a8aad28543d10cbb3159c4bf03a619eea0d # gnome-3-38
  23. source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
  24. "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
  25. sha256sums=('SKIP'
  26. 'SKIP')
  27. pkgver() {
  28. cd $pkgname
  29. git describe --tags | sed 's/-/+/g'
  30. }
  31. prepare() {
  32. cd $pkgname
  33. git submodule init
  34. git submodule set-url subprojects/gvc "$srcdir/libgnome-volume-control"
  35. git submodule update
  36. }
  37. build() {
  38. arch-meson $pkgname build -D gtk_doc=true
  39. meson compile -C build
  40. }
  41. package() {
  42. depends+=(libmutter-7.so)
  43. DESTDIR="$pkgdir" meson install -C build
  44. }