PKGBUILD 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Maintainer: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.0.1
  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=('mutter' 'gconf' 'dconf' 'gjs' 'gnome-menus' 'gnome-desktop' 'libcroco' 'libcanberra' 'libpulse' 'telepathy-glib' 'polkit-gnome'
  11. 'gobject-introspection' 'evolution-data-server' 'gnome-bluetooth' 'gstreamer0.10' 'telepathy-logger')
  12. makedepends=('intltool' 'gnome-doc-utils')
  13. optdepends=('network-manager-applet: shell integration for networkmanager'
  14. 'gnome-power-manager: shell integration for power management')
  15. options=('!libtool' '!emptydirs')
  16. install=gnome-shell.install
  17. groups=(gnome)
  18. source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
  19. arch.patch
  20. network_fixes_up_to_5090a4ccce.patch
  21. shell-xfixes-cursor_missing_free.patch
  22. st-private_fix_memory_leak.patch)
  23. sha256sums=('01f7ae942ba9687a5e67d62423843ed404d77b35f74acc212a5f391beed8e079'
  24. 'a35d5e5f9f781728070aecae3bfe329f49dadcd50ca2984e0fbdd2219825a0db'
  25. '01bf41483d5d8935ed2dd6294ee04024f2d9bcb2ef13276b07331e485965c822'
  26. 'c8b92768c869d0d77595da3466cc0dba3b6f067ea5fac048f32a918bbe98bbf6'
  27. '8b80a0cec39c38a47521183a3030a782ab84bb6ea5e9cc58213589245288e718')
  28. build() {
  29. cd "${srcdir}/${pkgname}-${pkgver}"
  30. patch -Np1 -i "${srcdir}/arch.patch"
  31. patch -Np1 -i "${srcdir}/network_fixes_up_to_5090a4ccce.patch"
  32. patch -Np1 -i "${srcdir}/shell-xfixes-cursor_missing_free.patch"
  33. patch -Np1 -i "${srcdir}/st-private_fix_memory_leak.patch"
  34. ./configure --prefix=/usr --sysconfdir=/etc \
  35. --libexecdir=/usr/lib/gnome-shell \
  36. --localstatedir=/var --disable-static \
  37. --disable-schemas-compile
  38. make
  39. }
  40. package() {
  41. cd "${srcdir}/${pkgname}-${pkgver}"
  42. make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
  43. install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  44. gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-shell ${pkgdir}/etc/gconf/schemas/*.schemas
  45. rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
  46. }