Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 7th, 2010  |  syntax: None  |  size: 1.09 KB  |  hits: 173  |  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: neolith
  2. pkgname=yuuguu
  3. pkgver=2722
  4. pkgrel=1
  5. pkgdesc="Yuuguu offers cross network instant messaging, instant screen sharing, real time collaboration, web conferencing and remote support."
  6. arch=('i686' 'x86_64')
  7. url="http://yuuguu.com"
  8. license=('custom:Yuuguu User license')
  9. depends=('jre')
  10. makedepends=('rpmextract')
  11. md5sums=('4f6b28c43a199fc9b5eaff339e0b5fed'
  12.          'ece9ab1401b19617be2ab0352c992a18')
  13. _architect='i386'
  14. [ "$CARCH" = "x86_64" ] && _architect='amd64'
  15. [ "$CARCH" = "x86_64" ] && md5sums[0]='09cdcd76ae72d3ffa77d3c5820b68088'
  16.  
  17. source=("yuuguu-latest-${_architect}.rpm::http://www.yuuguu.com/downloads/yuuguu-latest-${_architect}.rpm"
  18.         'patch-yuuguu')
  19. provides=("$pkgname=${pkgver}")
  20. build() {
  21.   cd $srcdir
  22.  
  23.   # extract the archive
  24.   rpmextract.sh yuuguu-latest-${_architect}.rpm || return 1
  25.  
  26.   # apply java location fix  
  27.   patch usr/bin/yuuguu patch-yuuguu
  28.  
  29.   mkdir -p pkg
  30.   mv usr pkg
  31.  
  32.   cp -r pkg/usr $pkgdir || return 1
  33.  
  34.   install -D -m644 $srcdir/pkg/usr/share/doc/yuuguu/copyright $pkgdir/usr/share/licenses/$pkgname/license.txt || return 1
  35. }