PKGBUILD 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Maintainer: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.10.2.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
  11. gnome-session gnome-settings-daemon gnome-themes-standard gsettings-desktop-schemas
  12. libcanberra-pulse libcroco libgdm libsecret mutter mutter-wayland network-manager-applet
  13. telepathy-logger telepathy-mission-control unzip)
  14. makedepends=(intltool gtk-doc gnome-control-center evolution-data-server)
  15. optdepends=('gnome-control-center: System settings'
  16. 'evolution-data-server: Evolution calendar integration')
  17. options=('!emptydirs')
  18. install=gnome-shell.install
  19. groups=(gnome)
  20. source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
  21. nm-libexecdir.patch
  22. git-fixes.patch)
  23. sha256sums=('d28cedc4f7dbcbd979ef2a0b80f722ff507989fce193fe59351b1d048d17c44c'
  24. 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607'
  25. '192d95387dff5ac772968680cb77abef135b3ad7218676ad51c997d474642cc5')
  26. prepare() {
  27. cd $pkgname-$pkgver
  28. # FS#30747 FS#32730 Problems due to libexecdir different from NM
  29. patch -Np1 -i ../nm-libexecdir.patch
  30. # Upstream fixes from 3-10 branch. Includes security bugfix for FS#37930
  31. patch -Np1 -i ../git-fixes.patch
  32. }
  33. build() {
  34. cd $pkgname-$pkgver
  35. PYTHON=/usr/bin/python2 ./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. }