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

Untitled

By: a guest on Jun 12th, 2010  |  syntax: None  |  size: 0.91 KB  |  views: 197  |  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: zoulnix <z[o]ulnix.borke[dd]uck.c[o]m>
  2. pkgname=tint2-svn
  3. pkgver=484
  4. pkgrel=1
  5. pkgdesc="A basic, good-looking task manager for WMs."
  6. arch=('i686' 'x86_64')
  7. url="http://code.google.com/p/tint2/"
  8. license=('GPL')
  9. depends=('libxinerama' 'pango' 'imlib2')
  10. makedepends=('autoconf' 'automake' 'gcc' 'make' 'cmake' 'pkgconfig' 'subversion')
  11. options=('!libtool')
  12. provides=('tint2')
  13. conflicts=('tint2' 'tint' 'ttm-svn')
  14. source=()
  15. md5sums=()
  16.  
  17. _svnmod="tint2"
  18. _svntrunk="http://tint2.googlecode.com/svn/trunk"
  19.  
  20. build() {
  21.   cd ${srcdir}
  22.  
  23.   #####
  24.   msg "Retrieving sources from SVN"
  25.   svn co $_svntrunk --config-dir ./ $_svnmod
  26.  
  27.   cp -r $_svnmod $_svnmod-build
  28.   cd $_svnmod-build
  29.  
  30.   msg "SVN checkout done or server timeout"
  31.   msg "Starting make..."
  32.   #####
  33.  
  34.   # Generating build system
  35.   cmake -DCMAKE_INSTALL_PREFIX=/usr ./
  36.   make || return 1
  37.   make DESTDIR=${pkgdir} install || return 1
  38. }