SHARE
TWEET

Untitled

a guest Sep 21st, 2011 82 Never
  1. pkgname=slingshot-bzr
  2. pkgver=latest
  3. pkgrel=1
  4. pkgdesc="New version of elementary's launcher Slingshot."
  5. arch=('i686' 'x86_64')
  6. url="https://code.launchpad.net/~slingshot-devs/"
  7. license=('GPL2')
  8. depends=('libgee' 'gnome-menus' 'libzeitgeist' 'granite-bzr')
  9. makedepends=('bzr' 'cmake')
  10. optdepends=('wingpanel-bzr: panel to go with the Pantheon shell')
  11. provides=(slingshot)
  12. conflicts=(slingshot)
  13. install=(slingshot.install)
  14.  
  15. _bzrtrunk="lp:slingshot"
  16. _bzrmod="new-slingshot"
  17.  
  18. build() {
  19.   cd "${srcdir}"
  20.  
  21.   msg "Connecting to the server...."
  22.  
  23.   if [ -d ${_bzrmod} ]; then
  24.     bzr up ${_bzrmod}
  25.     msg "The local files are updated."
  26.   else
  27.     bzr co ${_bzrtrunk} ${_bzrmod}
  28.   fi
  29.  
  30.   msg "BZR checkout done or server timeout"
  31.   msg "Starting make..."
  32.  
  33.   cd new-slingshot
  34.   mkdir build; cd build
  35.   cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  36.   make
  37.   make DESTDIR="${pkgdir}" install
  38. }
RAW Paste Data
Top