PKGBUILD 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Maintainer: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.16.1
  5. pkgrel=2
  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 libnm-glib
  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. nm-libexecdir.patch)
  21. sha256sums=('9bd9fbb40fb003ae09bebfe29d5b6a569b1fbb4a81c92ac9bada5efb956bf201'
  22. 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607')
  23. prepare() {
  24. cd $pkgname-$pkgver
  25. # FS#30747 FS#32730 Problems due to libexecdir different from NM
  26. patch -Np1 -i ../nm-libexecdir.patch
  27. }
  28. build() {
  29. cd $pkgname-$pkgver
  30. ./configure --prefix=/usr --sysconfdir=/etc \
  31. --libexecdir=/usr/lib/gnome-shell \
  32. --localstatedir=/var --disable-static \
  33. --disable-schemas-compile
  34. # https://bugzilla.gnome.org/show_bug.cgi?id=655517
  35. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  36. make
  37. }
  38. package() {
  39. cd $pkgname-$pkgver
  40. make DESTDIR="$pkgdir" install
  41. # Must exist; FS#37412
  42. mkdir -p "$pkgdir/usr/share/gnome-shell/modes"
  43. }