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

libdbusmenu

By: a guest on Apr 8th, 2010  |  syntax: None  |  size: 0.97 KB  |  views: 363  |  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=libdbusmenu-bzr
  2. pkgbranch=0.2
  3. pkgver=0.2.9
  4. pkgrel=1
  5. pkgdesc="A small little library that was created by pulling out some common code out of indicator-applet. (Canonical Ayatana Pr
  6. oject)"
  7. arch=('i686' 'x86_64')
  8. url="https://launchpad.net/dbusmenu"
  9. license=('GPL')
  10. depends=('glib2' 'dbus-glib' 'libxml2' 'json-glib')
  11. makedepends=('intltool' 'gtk-doc' 'gnome-common' 'bzr' 'vala')
  12. provides=('libdbusmenu')
  13. source=()
  14. md5sums=()
  15.  
  16. _bzrbranch=lp:dbusmenu
  17. _bzrmod=dbusmenu
  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.  
  30.   msg "BZR checkout done or server timeout"
  31.   msg "Starting make..."
  32.  
  33.   [ -d ./${_bzrmod}-build ] && rm -rf ./${_bzrmod}-build
  34.   cp -r ./${_bzrmod} ./${_bzrmod}-build
  35.   cd ./${_bzrmod}-build
  36.  
  37.   ./autogen.sh --prefix=/usr --disable-static || return 1
  38.   make || return 1
  39.   make DESTDIR="$pkgdir" install || return 1
  40. }