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

guitar-pro pkgbuild

By: matthieuj on May 18th, 2011  |  syntax: None  |  size: 0.73 KB  |  views: 257  |  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. # Maintainer: Ivan Nikolaev <voidexp@gmail.com>
  2. pkgname=guitar-pro
  3. pkgver=6.0.7
  4. pkgrel=1
  5. pkgdesc="A popular tablature editor, score player and a backing band all in one"
  6. arch=(i686)
  7. url="http://www.guitar-pro.com"
  8. license=('custom')
  9. depends=('libpulse' 'libgl' 'qt' 'libxslt' 'portaudio' 'gksu')
  10. makedepends=('binutils' 'tar')
  11. source=(http://download2.guitar-pro.com/8c1885b0fa92cc69f20852831cf46c26/4dd36482/gp6/GuitarPro6Demo-rev9626.deb)
  12.  
  13. build() {
  14.   cd "$srcdir"
  15.  
  16.   ar vx GuitarPro6Demo-rev9626.deb || return 1
  17.  
  18.   tar xvzf data.tar.gz || return 1
  19. }
  20.  
  21. package() {  
  22.   cd "$srcdir"
  23.  
  24.   rm opt/GuitarPro6/libz.so.1 # A little fix
  25.  
  26.   mv -v opt $pkgdir
  27.   mv -v usr $pkgdir
  28. }
  29.  
  30. md5sums=('b17bb96212f3fcca6dfea20d642511ce')