PKGBUILD 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Maintainer: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.8.3
  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 evolution-data-server gcr gjs gnome-bluetooth gnome-menus
  11. gnome-session gnome-settings-daemon gnome-themes-standard gsettings-desktop-schemas
  12. libcanberra-pulse libcroco libgdm libsecret mutter network-manager-applet
  13. telepathy-logger telepathy-mission-control unzip)
  14. makedepends=(intltool gtk-doc gnome-control-center)
  15. optdepends=('gnome-control-center: System settings')
  16. options=('!libtool' '!emptydirs')
  17. install=gnome-shell.install
  18. groups=(gnome)
  19. source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver::3}/$pkgname-$pkgver.tar.xz
  20. nm-libexecdir.patch
  21. 0001-st-Be-more-forgiving-when-calling-get_theme_node-on-.patch)
  22. sha256sums=('145724f21ead9dbe0c39d3ab468b39264c7aaf3f0fa5d152b295d905d8339c22'
  23. 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607'
  24. 'c5f0c9b071d5c31e11289c45743e1f82f6bba8201a28e0efb7a197f57cbb2105')
  25. prepare() {
  26. cd $pkgname-$pkgver
  27. # FS#30747 FS#32730 Problems due to libexecdir different from NM
  28. patch -Np1 -i ../nm-libexecdir.patch
  29. # FS#35174 Nautilus crashes GS
  30. patch -Np1 -i ../0001-st-Be-more-forgiving-when-calling-get_theme_node-on-.patch
  31. }
  32. build() {
  33. cd $pkgname-$pkgver
  34. PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
  35. --libexecdir=/usr/lib/gnome-shell \
  36. --localstatedir=/var --disable-static \
  37. --disable-schemas-compile
  38. # https://bugzilla.gnome.org/show_bug.cgi?id=655517
  39. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  40. make
  41. }
  42. package() {
  43. cd $pkgname-$pkgver
  44. make DESTDIR="$pkgdir" install
  45. }