PKGBUILD 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # Contributor: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.22.1+2+g5a08886
  5. pkgrel=1
  6. pkgdesc="The next generation GNOME Shell"
  7. url="https://wiki.gnome.org/Projects/GnomeShell"
  8. arch=(i686 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. telepathy-logger telepathy-mission-control unzip gstreamer)
  14. makedepends=(intltool gtk-doc gnome-control-center evolution-data-server python
  15. gobject-introspection git gnome-common)
  16. optdepends=('gnome-control-center: System settings'
  17. 'evolution-data-server: Evolution calendar integration')
  18. groups=(gnome)
  19. _commit=5a08886ed6523c9449f19d69d7c0af979c9185f5 # gnome-3-22
  20. source=("git://git.gnome.org/gnome-shell#commit=$_commit"
  21. "git://git.gnome.org/libgnome-volume-control"
  22. "git://git.gnome.org/gnome-shell-sass"
  23. nm-libexecdir.patch)
  24. sha256sums=('SKIP'
  25. 'SKIP'
  26. 'SKIP'
  27. 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607')
  28. pkgver() {
  29. cd $pkgname
  30. git submodule init
  31. git config --local submodule.src/gvc.url "$srcdir/libgnome-volume-control"
  32. git config --local submodule.data/theme/gnome-shell-sass.url "$srcdir/gnome-shell-sass"
  33. git submodule update
  34. git describe --tags | sed 's/-/+/g'
  35. }
  36. prepare() {
  37. cd $pkgname
  38. # FS#30747 FS#32730 Problems due to libexecdir different from NM
  39. patch -Np1 -i ../nm-libexecdir.patch
  40. NOCONFIGURE=1 ./autogen.sh
  41. }
  42. build() {
  43. cd $pkgname
  44. ./configure --prefix=/usr --sysconfdir=/etc \
  45. --libexecdir=/usr/lib/gnome-shell \
  46. --localstatedir=/var --disable-static \
  47. --disable-schemas-compile --enable-gtk-doc
  48. # https://bugzilla.gnome.org/show_bug.cgi?id=655517
  49. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  50. make
  51. }
  52. package() {
  53. cd $pkgname
  54. make DESTDIR="$pkgdir" install
  55. # Must exist; FS#37412
  56. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  57. }