PKGBUILD 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # Maintainer: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.18.4
  5. pkgrel=1
  6. pkgdesc="The next generation GNOME Shell"
  7. arch=(i686 x86_64)
  8. url="https://wiki.gnome.org/Projects/GnomeShell"
  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)
  15. optdepends=('gnome-control-center: System settings'
  16. 'evolution-data-server: Evolution calendar integration')
  17. install=gnome-shell.install
  18. groups=(gnome)
  19. source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
  20. libsecret-crash.patch
  21. nm-libexecdir.patch)
  22. sha256sums=('d959c0aae4c10b194d1fa29e89d34d73a4d35d74f384bf604d78435bf9ced5d7'
  23. '3c668de4c091dccf3d269b3d549c93f2a9b64e569c87ff3c3466624b5fc735bd'
  24. 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607')
  25. prepare() {
  26. cd $pkgname-$pkgver
  27. patch -Np1 -i ../libsecret-crash.patch
  28. # FS#30747 FS#32730 Problems due to libexecdir different from NM
  29. patch -Np1 -i ../nm-libexecdir.patch
  30. }
  31. build() {
  32. cd $pkgname-$pkgver
  33. ./configure --prefix=/usr --sysconfdir=/etc \
  34. --libexecdir=/usr/lib/gnome-shell \
  35. --localstatedir=/var --disable-static \
  36. --disable-schemas-compile
  37. # https://bugzilla.gnome.org/show_bug.cgi?id=655517
  38. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  39. make
  40. }
  41. package() {
  42. cd $pkgname-$pkgver
  43. make DESTDIR="$pkgdir" install
  44. # Must exist; FS#37412
  45. mkdir -p "$pkgdir/usr/share/gnome-shell/modes"
  46. }