PKGBUILD 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # Maintainer: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.0.1
  5. pkgrel=5
  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. st-private_correct_fix_memory_leak.patch
  24. 0001-Don-t-crash-when-removing-nameless-user.patch)
  25. sha256sums=('01f7ae942ba9687a5e67d62423843ed404d77b35f74acc212a5f391beed8e079'
  26. 'a35d5e5f9f781728070aecae3bfe329f49dadcd50ca2984e0fbdd2219825a0db'
  27. '01bf41483d5d8935ed2dd6294ee04024f2d9bcb2ef13276b07331e485965c822'
  28. 'c8b92768c869d0d77595da3466cc0dba3b6f067ea5fac048f32a918bbe98bbf6'
  29. '8b80a0cec39c38a47521183a3030a782ab84bb6ea5e9cc58213589245288e718'
  30. 'c676067fff399a87625187381db5331d82c44f6c14f51d409392851dbbeb5074'
  31. '291d1fa51344325e3dabc0c1287750cde98605c30f079ffad9b3523a3aba860d')
  32. build() {
  33. cd "${srcdir}/${pkgname}-${pkgver}"
  34. patch -Np1 -i "${srcdir}/arch.patch"
  35. patch -Np1 -i "${srcdir}/network_fixes_up_to_5090a4ccce.patch"
  36. patch -Np1 -i "${srcdir}/shell-xfixes-cursor_missing_free.patch"
  37. patch -Np1 -i "${srcdir}/st-private_fix_memory_leak.patch"
  38. patch -Np1 -i "${srcdir}/st-private_correct_fix_memory_leak.patch"
  39. patch -Np1 -i "${srcdir}/0001-Don-t-crash-when-removing-nameless-user.patch"
  40. ./configure --prefix=/usr --sysconfdir=/etc \
  41. --libexecdir=/usr/lib/gnome-shell \
  42. --localstatedir=/var --disable-static \
  43. --disable-schemas-compile
  44. make
  45. }
  46. package() {
  47. cd "${srcdir}/${pkgname}-${pkgver}"
  48. make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
  49. install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  50. gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-shell ${pkgdir}/etc/gconf/schemas/*.schemas
  51. rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
  52. }