Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD

By: a guest on Apr 3rd, 2011  |  syntax: None  |  size: 1.78 KB  |  views: 89  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Mantainer: Gianfranco Micoli <gianfrix.mg@gmail.com>
  2.  
  3. pkgname=gnome-settings-daemon-notify-osd
  4. realname=gnome-settings-daemon
  5. pkgver=2.32.1
  6. pkgrel=4
  7. pkgdesc="The GNOME Settings daemon. With Ubuntu 10.10 Maverick patches"
  8. arch=('i686' 'x86_64')
  9. license=('GPL')
  10. depends=('libgnomekbd>=2.32.0' 'gnome-desktop>=2.32.0' 'libnotify>=0.7.1' 'hicolor-icon-theme' 'libgnome-data')
  11. provides=('gnome-settings-daemon=2.32.0')
  12. conflicts=('gnome-settings-daemon')
  13. makedepends=('intltool' 'pkg-config')
  14. options=(!emptydirs !libtool)
  15. install=gnome-settings-daemon.install
  16. url="http://www.gnome.org"
  17. groups=('gnome')
  18. source=(http://ftp.gnome.org/pub/gnome/sources/${realname}/2.32/${realname}-${pkgver}.tar.bz2
  19. gnome-settings-daemon-2.32.1-libnotify-0.7.patch
  20. 16_use_synchronous_notifications.patch)
  21. sha256sums=('0074b3fec3ad6e3ab91a05dc20906b06101ea8bca0cd2caf394a5cc141b05e86'
  22.             'da836e61ddaea8b3a90692951296a28c4533e1e117412a0602f6c76e564e837d'
  23.             '2ae2c725ebdfe6e97e1450528c86158bea16905cc110f247d6406a94a397c4a9')
  24.  
  25. build() {
  26.   cd "${srcdir}/${realname}-${pkgver}"
  27.  
  28.   msg "Patching with 16_use_synchronous_notifications.patch"
  29.   patch -Np0 -i "${srcdir}/gnome-settings-daemon-2.32.1-libnotify-0.7.patch"
  30.   patch -Np1 -i "${srcdir}/16_use_synchronous_notifications.patch"     
  31.  
  32.   libtoolize --force
  33.   aclocal
  34.   autoconf
  35.   automake
  36.   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
  37.       --libexecdir=/usr/bin --disable-static
  38.   make
  39.   make DESTDIR="${pkgdir}" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
  40.  
  41.   install -d -m755 "${pkgdir}/usr/share/gconf/schemas"
  42.   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${realname}.schemas" --domain gnome-settings-daemon ${pkgdir}/etc/gconf/schemas/*.schemas
  43.   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
  44. }
clone this paste RAW Paste Data