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

cint PKGBUILD

By: a guest on Sep 24th, 2010  |  syntax: None  |  size: 0.82 KB  |  views: 177  |  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: Niklas Schmuecker (IRC: nisc) <nschmuecker (gmail)>
  2.  
  3. pkgname=cint-svn
  4. pkgver=35665
  5. pkgrel=1
  6. pkgdesc="The CINT C++ interpreter."
  7. url="http://root.cern.ch/drupal/content/cint"
  8. arch=('i686 x86_64')
  9. depends=('gcc-libs')
  10. license=('X11/MIT')
  11. #options=('!libtool')
  12. makedepends=('subversion')
  13.  
  14. _svnmod="cint"
  15. _svntrunk="http://root.cern.ch/svn/root/trunk/cint"
  16.  
  17. build() {
  18.   cd $startdir/src
  19.  
  20.   mkdir -p ~/.subversion; touch ~/.subversion/servers  
  21.   msg "Connecting to SVN server..."
  22.   msg "Checking out $_svnmod"
  23.   yes "p" | svn co $_svntrunk $_svnmod
  24.   msg "SVN checkout done or server timeout"
  25.  
  26.   msg "Starting build..."
  27.   cp -r $_svnmod $_svnmod-build
  28.   cd $_svnmod-build
  29.  
  30.   ./configure --prefix=/usr || return 1
  31.   make -j2 || return 1
  32.   make DESTDIR=$startdir/pkg/ install || return 1
  33. }
clone this paste RAW Paste Data