PKGBUILD 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Maintainer: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.0.2
  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=('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. bluetoothstatus-always-update-devices.patch
  21. shell-recorder-missing-XFree.patch)
  22. sha256sums=('a44963877da895d9b9f1ea98617067c5e88a5c4b414c6ccf0fcbfacdeac7db95'
  23. 'a35d5e5f9f781728070aecae3bfe329f49dadcd50ca2984e0fbdd2219825a0db'
  24. 'f592752875085fceebdb27e65802e09c07edd7be57eec0da3edfcad5052be2ae'
  25. '070edd5e720c063be41c158f39b7ef62a0d4a7f547ca0d23216104d5428ff971')
  26. build() {
  27. cd "${srcdir}/${pkgname}-${pkgver}"
  28. patch -Np1 -i "${srcdir}/arch.patch"
  29. patch -Np1 -i "${srcdir}/bluetoothstatus-always-update-devices.patch"
  30. patch -Np1 -i "${srcdir}/shell-recorder-missing-XFree.patch"
  31. ./configure --prefix=/usr --sysconfdir=/etc \
  32. --libexecdir=/usr/lib/gnome-shell \
  33. --localstatedir=/var --disable-static \
  34. --disable-schemas-compile
  35. make
  36. }
  37. package() {
  38. cd "${srcdir}/${pkgname}-${pkgver}"
  39. make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
  40. install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  41. gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-shell ${pkgdir}/etc/gconf/schemas/*.schemas
  42. rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
  43. }