PKGBUILD 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # Maintainer: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.22.0+4+g717c0ea
  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 gobject-introspection git gnome-common)
  15. optdepends=('gnome-control-center: System settings'
  16. 'evolution-data-server: Evolution calendar integration')
  17. groups=(gnome)
  18. _commit=717c0ea19f91bd149c43e92d2a2c80dbc5ba0b1a # master
  19. source=("git://git.gnome.org/gnome-shell#commit=$_commit"
  20. nm-libexecdir.patch)
  21. sha256sums=('SKIP'
  22. 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607')
  23. pkgver() {
  24. cd $pkgname
  25. git describe --tags | sed 's/-/+/g'
  26. }
  27. prepare() {
  28. cd $pkgname
  29. # FS#30747 FS#32730 Problems due to libexecdir different from NM
  30. patch -Np1 -i ../nm-libexecdir.patch
  31. NOCONFIGURE=1 ./autogen.sh
  32. }
  33. build() {
  34. cd $pkgname
  35. ./configure --prefix=/usr --sysconfdir=/etc \
  36. --libexecdir=/usr/lib/gnome-shell \
  37. --localstatedir=/var --disable-static \
  38. --disable-schemas-compile --enable-gtk-doc
  39. # https://bugzilla.gnome.org/show_bug.cgi?id=655517
  40. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  41. make
  42. }
  43. package() {
  44. cd $pkgname
  45. make DESTDIR="$pkgdir" install
  46. # Must exist; FS#37412
  47. mkdir -p "$pkgdir/usr/share/gnome-shell/modes"
  48. }