This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for pidgin-light with unnecessary dependencies removed

By: a guest on Jan 28th, 2011  |  syntax: Bash  |  size: 1.86 KB  |  views: 227  |  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. # Maintainer: J. W. Birdsong <jwbirdsong AT gmail DOT com>
  2. # Contributor: Frikilinux <frikilinux at frikilinux.com.ar>
  3. # Contributor: Adriano Foschi <adriano.src gmail com>
  4. # Contributor: Ismael Carnales <icarnales@gamail.com
  5.  
  6. pkgname=pidgin-light
  7. pkgver=2.7.9
  8. pkgrel=1
  9. pkgdesc="A light pidgin version: msn, jabber, irc supported protocols without gstreamer, tcl, tk, xscreensaver support.No video/voice.  Includes finch "
  10. arch=('i686' 'x86_64')
  11. url="http://pidgin.im/"
  12. license=('GPL')
  13. depends=('startup-notification' 'libidn' 'nss' 'python2' 'gtkspell' 'hicolor-icon-theme' 'libxml2')
  14. makedepends=('ca-certificates' 'perlxml' 'intltool')
  15. optdepends=('dbus-python: needed for purple-remote & purple-url-handler only' 'gstreamer0.10-good: sound' 'farsight2: audio,video conferencing')
  16. replaces=('gaim')
  17. provides=('pidgin' 'finch' 'libpurple')
  18. conflicts=('pidgin' 'pidgin-msn' 'pidin-light-msn' 'finch' 'libpurple')
  19. options=('!libtool')
  20. install=pidgin-light.install
  21. source=(http://downloads.sourceforge.net/project/pidgin/Pidgin/$pkgver/pidgin-$pkgver.tar.bz2 pidgin-light.install)
  22.  
  23. md5sums=('9bc6cf953ed7d383b215fa8487bf8829'        
  24.          '8cc4ec58d3288bb171fc8359c25674f7')
  25.  
  26. build() {
  27.  
  28. cd "$srcdir/pidgin-$pkgver"
  29.     sed -i "s|env python|env python2|" */plugins/*.py
  30.     sed -i "s|env python|env python2|" libpurple/purple-{remote,notifications-example,url-handler}
  31.   ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-install\
  32.   --disable-meanwhile --disable-screensaver --disable-nm\
  33.   --disable-gnutls --disable-doxygen --disable-tcl --disable-tk --disable-vv\
  34.   --with-python=/usr/bin/python2   --disable-avahi --disable-gstreamer\
  35.   --with-system-ssl-certs=/etc/ssl/certs
  36.   make
  37. }
  38. package() {
  39. cd "$srcdir/pidgin-$pkgver"
  40.    make DESTDIR="$pkgdir" install
  41.  
  42. # Remove GConf schema file
  43.   rm -rf "$pkgdir/etc"
  44. }
  45.  
  46. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data