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

indicator-session

By: a guest on Apr 8th, 2010  |  syntax: None  |  size: 1.16 KB  |  views: 299  |  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. pkgname=indicator-session-bzr
  2. pkgbranch=0.2
  3. pkgver=0.2.7
  4. pkgrel=1
  5. pkgdesc="Quick! Change your status. Switch users. Close your session. All provided by the The Session Menu these tasks are conviniently placed in the upper-right corner of the desktop to make them available and easy to use. (Canonical Ayatana Project)"
  6. arch=('i686' 'x86_64')
  7. url="https://launchpad.net/indicator-session"
  8. license=('GPL')
  9. depends=('gconf' 'libdbusmenu-bzr' 'gtk2')
  10. makedepends=('libindicator-bzr')
  11. install=$pkgname.install
  12. provides=('indicator-session')
  13. source=()
  14. md5sums=()
  15.  
  16. _bzrbranch=lp:indicator-session
  17. _bzrmod=indicator-session
  18.  
  19. build() {
  20.   cd ${srcdir}
  21.  
  22.   msg "Connecting to the server...."
  23.  
  24.   if [ ! -d ./${_bzrmod} ]; then
  25.     bzr co ${_bzrbranch} ${_bzrmod}
  26.   else
  27.     bzr up ${_bzrmod}
  28.   fi
  29.   msg "BZR checkout done or server timeout"
  30.   msg "Starting make..."
  31.   [ -d ./${_bzrmod}-build ] && rm -rf ./${_bzrmod}-build
  32.   cp -r ./${_bzrmod} ./${_bzrmod}-build
  33.   cd ./${_bzrmod}-build
  34.  
  35.   ./autogen.sh --prefix=/usr --with-gconf-schema-file-dir=/usr/share/gconf/schemas --disable-static || return 1
  36.   make || return 1
  37.   make DESTDIR="$pkgdir" install || return 1
  38. }