Advertisement
Guest User

Untitled

a guest
Sep 24th, 2010
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. # Maintainer: Rick Poot < rlpoot at gmail dot com >
  2. # Contributor: Ismael Carnales <icarnales@gmail.com>
  3. pkgname=dzen2-svn
  4. pkgver=271
  5. pkgrel=3
  6. pkgdesc="X notification utility with Xinerama and XMP support, svn version"
  7. arch=('i686' 'x86_64')
  8. url="http://sites.google.com/site/gotmor/dzen"
  9. license=('MIT')
  10. depends=('libxft')
  11. makedepends=('subversion')
  12. provides=('dzen2')
  13. conflicts=('dzen2')
  14.  
  15. source=()
  16. md5sums=()
  17.  
  18. _svntrunk=http://dzen.googlecode.com/svn/trunk/
  19. _svnmod=dzen2
  20.  
  21. build() {
  22. cd $srcdir
  23.  
  24. if [ -d $_svnmod/.svn ]; then
  25. (cd $_svnmod && svn up -r $pkgver)
  26. else
  27. svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
  28. fi
  29.  
  30. msg "SVN checkout done or server timeout"
  31. msg "Starting make..."
  32.  
  33. cp -r $_svnmod $_svnmod-build
  34. cd $_svnmod-build
  35.  
  36. make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
  37. make PREFIX=/usr DESTDIR=$pkgdir install
  38.  
  39. #docs
  40. mkdir -p $pkgdir/usr/share/doc/$_svnmod
  41. cp README* $pkgdir/usr/share/doc/$_svnmod
  42.  
  43. #Licence
  44. mkdir -p $pkgdir/usr/share/licenses/$pkgname
  45. cp LICENSE $pkgdir/usr/share/licenses/$pkgname/
  46.  
  47. #gadgets
  48. cd gadgets
  49. make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
  50. make PREFIX=/usr DESTDIR=$pkgdir install || return 1
  51.  
  52. #docs
  53. cp README* $pkgdir/usr/share/doc/$_svnmod
  54.  
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement