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

Sebastian

By: a guest on Oct 6th, 2010  |  syntax: None  |  size: 1.11 KB  |  views: 126  |  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. # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
  2. pkgname=gobby-git
  3. pkgver=20101006
  4. pkgrel=1
  5. pkgdesc="A free collaborative editor supporting multiple documents in one session and a multi-user chat"
  6. arch=('i686' 'x86_64')
  7. url="http://gobby.0x539.de"
  8. license=('GPL')
  9. depends=('libinfinity-git' 'intltool' 'glibmm' 'gtkmm' 'gtksourceview2' 'libxml++' 'libsigc++2.0')
  10. makedepends=('git' 'intltool')
  11. #provides=('gobby')
  12. conflicts=('gobby-dev')
  13. #install=gobby-git.install
  14. source=()
  15. md5sums=('')
  16.  
  17. _gitroot=git://git.0x539.de/git/gobby.git
  18. _gitname=gobby
  19.  
  20. build() {
  21.   cd ${srcdir}
  22.   msg "Connecting to git.0x539.de GIT server..."
  23.  
  24.   if [ -d ${srcdir}/$_gitname ] ; then
  25.     cd $_gitname && git pull origin
  26.     msg "The local files are updated."
  27.   else
  28.     git clone $_gitroot
  29.   fi
  30.  
  31.   msg "GIT checkout done or server timeout"
  32.   msg "Starting make..."
  33.  
  34.   git clone $_gitname $_gitname-build
  35.   cd ${srcdir}/$_gitname-build
  36.  
  37.   ./autogen.sh --prefix=/usr || return 1
  38.   ./configure --prefix=/usr || return 1
  39.   make || return 1
  40.   make DESTDIR="${pkgdir}" install || return 1
  41. }
  42.  
  43. # vim:set ts=2 sw=2 et: