PKGBUILD 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Maintainer: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.18.3
  5. pkgrel=3
  6. pkgdesc="The next generation GNOME Shell"
  7. arch=(i686 x86_64)
  8. url="http://live.gnome.org/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=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
  20. libsecret-crash.patch vpn-secrets.patch
  21. nm-libexecdir.patch)
  22. sha256sums=('8517baf8606f970ebf38222411eb7563cab2ae5efbfb088954ce23705b67519b'
  23. '3c668de4c091dccf3d269b3d549c93f2a9b64e569c87ff3c3466624b5fc735bd'
  24. '156d62bcb1281527820c9fd4760354478d7d7f0d424ba291bab6cfa498a54ef6'
  25. 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607')
  26. prepare() {
  27. cd $pkgname-$pkgver
  28. patch -Np1 -i ../libsecret-crash.patch
  29. patch -Np1 -i ../vpn-secrets.patch
  30. # FS#30747 FS#32730 Problems due to libexecdir different from NM
  31. patch -Np1 -i ../nm-libexecdir.patch
  32. }
  33. build() {
  34. cd $pkgname-$pkgver
  35. ./configure --prefix=/usr --sysconfdir=/etc \
  36. --libexecdir=/usr/lib/gnome-shell \
  37. --localstatedir=/var --disable-static \
  38. --disable-schemas-compile
  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-$pkgver
  45. make DESTDIR="$pkgdir" install
  46. # Must exist; FS#37412
  47. mkdir -p "$pkgdir/usr/share/gnome-shell/modes"
  48. }