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.10.0.1
  5. pkgrel=1
  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 mutter-wayland 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:0:4}/$pkgname-$pkgver.tar.xz
  20. nm-libexecdir.patch)
  21. sha256sums=('eb98ca6274e82e446834221b2dfd9af0e12e5ebce651319435524fd6cd5f4ec9'
  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. # Build against mutter-wayland 3.9.92
  28. sed -ri 's/^(MUTTER_MIN_VERSION)=.*/\1=3.9.92/' configure
  29. }
  30. build() {
  31. cd $pkgname-$pkgver
  32. PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
  33. --libexecdir=/usr/lib/gnome-shell \
  34. --localstatedir=/var --disable-static \
  35. --disable-schemas-compile
  36. # https://bugzilla.gnome.org/show_bug.cgi?id=655517
  37. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  38. make
  39. }
  40. package() {
  41. cd $pkgname-$pkgver
  42. make DESTDIR="$pkgdir" install
  43. }