Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 10th, 2010  |  syntax: Bash  |  size: 1.09 KB  |  hits: 61  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: catalyst <catalyst@xaker.ru>
  2. # Contributor: Jacob Winther <jacob.winther@gmail.com>
  3.  
  4. pkgname=cairo-compmgr-git
  5. pkgver=20100811
  6. pkgrel=1
  7. pkgdesc="Cairo based composite manager. GIT-version"
  8. arch=('i686' 'x86_64')
  9. url="http://cairo-compmgr.tuxfamily.org/"
  10. license=('GPL')
  11. conflicts=('cairo-compmgr')
  12. makedepends=('gettext' 'git' 'gtk-doc' 'intltool>=0.41')
  13. depends=('cairo' 'gconf' 'libxcomposite' 'vala')
  14. md5sums=()
  15.  
  16. _gitroot="git://git.tuxfamily.org/gitroot/ccm/cairocompmgr.git"
  17. _gitname="cairocompmgr"
  18.  
  19. build() {
  20.   cd $srcdir
  21.  
  22.   msg "Connecting to GIT server..."
  23.   if [[ -d $_gitname ]]; then
  24.     (cd $_gitname && git pull origin)
  25.   else
  26.     git clone $_gitroot $_gitname
  27.   fi
  28.   msg "GIT checkout done or server timeout"
  29.   msg "Starting make..."
  30.  
  31.   rm -rf $_gitname-build
  32.   cp -r $_gitname $_gitname-build
  33.   cd $_gitname-build
  34.  
  35.   ./autogen.sh --prefix=/usr --sysconfdir=/etc
  36.  
  37.   make || return 1
  38. }
  39.  
  40. package() {
  41.   cd $_gitname-build
  42.  
  43.   make DESTDIR="${pkgdir}" install
  44.  
  45.   rm -rf ${pkgdir}/etc
  46.   rm -rf ${pkgdir}/usr/share/vala
  47. }
  48.  
  49. # vim:set ts=2 sw=2 et: