Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

cairo-dock-plug-ins 3.1.1 PKGBUILD for Arch Linux

By: a guest on Nov 12th, 2012  |  syntax: None  |  size: 1.69 KB  |  views: 220  |  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: Tofe <chris.chapuis@gmail.com>
  2. # Contributor: zhuqin <zhuqin83@gmail.com>
  3. # Contributor: tri1976 <trile7@gmail.com>
  4. # Contributor: snoopy33
  5. # Contributor: 4javier
  6.  
  7. pkgname=cairo-dock-plug-ins
  8. _pkgname=cairo-dock-plugins
  9. pkgver=3.1.1
  10. _pkglaunchpadrel=3.1.1
  11. pkgrel=0
  12. pkgdesc="Plugins for cairo-dock"
  13. url="https://launchpad.net/cairo-dock"
  14. license="GPL"
  15. arch=('i686' 'x86_64')
  16. depends=("cairo-dock" 'libxxf86vm' 'vte' 'alsa-lib' 'gvfs' 'upower' 'libdbusmenu-gtk3')
  17. optdepends=('libzeitgeist: to enable the Recent-Events applet' 'webkit: to enable the Weblet applet' 'indicator: to enable the Indicator applet' 'ruby: to support applets written in Ruby' 'mono: to support applets written in Mono/.Net' 'libpulse: to enable the Impulse applet' 'fftw: to enable the Impulse applet' 'libetpan: to enable the Mail applet' 'ido: to enable the Indicator applet' 'indicator-me: to enable the Me-Messaging applet')
  18. makedepends=('cmake' 'pkgconfig' 'libtool')
  19. options=('!libtool')
  20. source=(http://launchpad.net/$pkgname/3.1/$_pkglaunchpadrel/+download/$_pkgname-$pkgver.1.tar.gz applet-host-ias.patch indicator-dbusmenu.patch)
  21. md5sums=('e2605bdf3844e715dc5f02670a4abfd2' '28ae9bce2bced1a8270a94ec43993103' 'feeb1ac79f0c89a538a4bea197ca4593')
  22.  
  23. build() {
  24.   cd $srcdir/cairo-dock-plugins-3.1.1
  25.  
  26.   patch -p1 < $srcdir/applet-host-ias.patch
  27.   patch -p0 < $srcdir/indicator-dbusmenu.patch
  28.  
  29.   [[ -e build ]] || mkdir build
  30.   cd build
  31.  
  32.   cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DROOT_PREFIX=$startdir/pkg \
  33.   -Denable-network-monitor=yes \
  34.   -Denable-disks=yes \
  35.   -Denable-doncky=yes \
  36.   -Denable-scooby-do=yes
  37.   make
  38. }
  39.  
  40. package() {
  41.   cd $srcdir/$_pkgname-$pkgver/build
  42.   make install DESTDIR=$pkgdir
  43. }