darkelf5

Wingpanel PKGBUILD

Aug 10th, 2011
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. #Contributor: Flamelab <[email protected]>
  2. #Fixes thanks to: friver
  3.  
  4. pkgname=wingpanel-bzr
  5. pkgver=6
  6. pkgrel=1
  7. pkgdesc="A space-saving top panel by the Elementary project"
  8. arch=('i686' 'x86_64')
  9. url="https://launchpad.net/wingpanel"
  10. license=('GPL')
  11. depends=('libindicator' 'glib2' 'libgee' 'cairo')
  12. makedepends=('bzr' 'intltool' 'gettext' 'vala' 'python-waf')
  13. options=('!libtool' '!emptydirs')
  14. install=${pkgname}.install
  15. optdepends=('ayatana-ubuntu: Ubuntu Ayatana -indicator- project')
  16.  
  17. _bzrtrunk=lp:wingpanel
  18. _bzrmod=wingpanel
  19.  
  20. build() {
  21.  
  22. msg "Connecting to the server...."
  23.  
  24. cd ${srcdir}
  25. if [ -d "${srcdir}/${_bzrmod}" ] ; then
  26. cd ${_bzrmod} && bzr up
  27. msg "The local files are updated."
  28. else
  29. bzr checkout ${_bzrtrunk}
  30. fi
  31.  
  32. msg "BZR checkout done or server timeout"
  33. msg "Starting make..."
  34.  
  35. cd ${srcdir}/${_bzrmod}
  36.  
  37. mkdir build; cd build
  38. cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  39. make
  40.  
  41. }
  42.  
  43. package() {
  44.  
  45. cd ${srcdir}/${_bzrmod}/build
  46. make DESTDIR="${pkgdir}" install
  47.  
  48. }
Advertisement
Add Comment
Please, Sign In to add comment