Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jan 2nd, 2011  |  syntax: Bash  |  size: 0.98 KB  |  hits: 109  |  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. #Contributor: Flamelab <panosfilip@gmail.com>
  2.  
  3. pkgname=wingpanel-bzr
  4. pkgver=22
  5. pkgrel=1
  6. pkgdesc="A space-saving top panel by the Elementary project"
  7. arch=('i686' 'x86_64')
  8. url="https://launchpad.net/wingpanel"
  9. license=('GPL')
  10. depends=('libindicator' 'glib2' 'libgee' 'cairo')
  11. makedepends=('bzr' 'intltool' 'gettext' 'vala' 'python-waf')
  12. options=('!libtool' '!emptydirs')
  13. install=${pkgname}.install
  14. optdepends=('ayatana-ubuntu: Ubuntu Ayatana -indicator- project')
  15.  
  16. _bzrtrunk=lp:wingpanel
  17. _bzrmod=wingpanel
  18.  
  19. build() {
  20.  
  21.   msg "Connecting to the server...."
  22.  
  23.         cd ${srcdir}
  24.         if [ -d "${srcdir}/${_bzrmod}" ] ; then
  25.                 cd ${_bzrmod} && bzr up
  26.                 msg "The local files are updated."
  27.         else
  28.                 bzr checkout ${_bzrtrunk}
  29.         fi
  30.  
  31.   msg "BZR checkout done or server timeout"
  32.   msg "Starting make..."
  33.  
  34.   cd ${srcdir}/${_bzrmod}
  35.  
  36.   waf configure
  37.   waf
  38.  
  39.   install -Dm755 ./_build_/wingpanel ${pkgdir}/usr/bin/wingpanel
  40. }