Advertisement
Thaodan

libreoffice-extention-menubar

Aug 10th, 2012
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.97 KB | None | 0 0
  1. # Maintainer: György Balló <ballogy@freestart.hu>
  2. # Updated bye Björn Bidar - Thaodan <thedorstormgrade@gmail.com>
  3. pkgname=libreoffice-extension-menubar
  4. _pkgname=lo-menubar
  5. pkgver=0.1.1
  6. pkgrel=1
  7. pkgdesc="A small plugin for LibreOffice to export the menus from the application into Unity's menubar"
  8. arch=(i686 x86_64)
  9. url="https://launchpad.net/lo-menubar"
  10. license=(LGPL)
  11. depends=(libreoffice-common libdbusmenu-gtk2 boost)
  12. makedepends=(libreoffice-sdk python2)
  13. source=('https://launchpad.net/lo-menubar/trunk/0.1.1/+download/lo-menubar-0.1.1.tar.bz2')
  14.  
  15. build() {
  16.   cd "$srcdir/$_pkgname-$pkgver"
  17.  
  18.   export LD_LIBRARY_PATH=/usr/lib/libreoffice/ure/lib
  19.   python2 ./waf configure --prefix=/usr \
  20.                           --libreoffice-prefix=/usr/lib/libreoffice \
  21.                           --ure-prefix=/usr/lib/libreoffice/ure
  22.   python2 ./waf build
  23. }
  24.  
  25. package() {
  26.   cd "$srcdir/$_pkgname-$pkgver"
  27.  
  28.   python2 ./waf install --destdir=$pkgdir
  29. }
  30. md5sums=('5cdb8dd7a354afc537204d9ad2df3352 ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement