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

Untitled

By: a guest on Jan 9th, 2013  |  syntax: None  |  size: 1.13 KB  |  views: 231  |  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.  
  2. # Contributor: Andrea Scarpino <andrea@archlinux.org>
  3. # Contributor: György Balló <ballogy@freestart.hu>
  4.  
  5. pkgname=kdeplasma-applets-menubar
  6. pkgver=0.1.18
  7. pkgrel=1
  8. pkgdesc="A Plasma widget to display menubar of application windows"
  9. arch=('i686' 'x86_64')
  10. url='https://launchpad.net/plasma-widget-menubar'
  11. license=('GPL')
  12. depends=('kdelibs>=4.9' 'qjson')
  13. makedepends=('cmake' 'automoc4')
  14. conflicts=('plasma-widget-menubar')
  15. replaces=('plasma-widget-menubar')
  16. optdepends=('appmenu-gtk2: support for GTK+ 2 apps'
  17.             'appmenu-gtk3: support for GTK+ 3 apps'
  18.             'appmenu-qt: support for Qt apps'
  19.             'libreoffice-extension-menubar: support for LibreOffice')
  20. source=("https://launchpad.net/plasma-widget-menubar/trunk/$pkgver/+download/plasma-widget-menubar-$pkgver.tar.bz2"{,.asc})
  21. md5sums=('37055ea768d561e8ba7acc1e2ce3502e'
  22.          '877e54b39f140a5d05071c8e49b62fda')
  23.  
  24. build() {
  25.   mkdir build
  26.   cd build
  27.   cmake ../plasma-widget-menubar-${pkgver} \
  28.     -DCMAKE_BUILD_TYPE=Release \
  29.     -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix)
  30.   make
  31. }
  32.  
  33. package() {
  34.   cd build
  35.   make DESTDIR="${pkgdir}" install
  36. }