This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

gogglesmm

By: myra_nelson on Oct 21st, 2011  |  syntax: Bash  |  size: 1.05 KB  |  views: 26  |  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: Sander Jansen <s.jansen@gmail.com>
  2. pkgname=gogglesmm-hg
  3. pkgver=100
  4. pkgrel=1
  5. pkgdesc="Goggles Music Manager"
  6. arch=('i686' 'x86_64')
  7. url="http://code.google.com/p/gogglesmm/"
  8. license=('GPL3')
  9. conflicts=('gogglesmm')
  10. depends=('fox-devel>=1.7.28' 'libgaplayer' 'dbus-core' 'taglib>=1.6.3' 'sqlite3' 'libgcrypt')
  11. makedepends=('mercurial' 'pkgconfig' 'librsvg' 'glproto' 'dri2proto' )
  12. md5sums=() #generate with 'makepkg -g'
  13.  
  14. _hgroot="http://code.google.com/p"
  15. _hgrepo="gogglesmm"
  16.  
  17. build() {
  18.   cd $srcdir
  19.   msg "Connecting to Mercurial server...."
  20.  
  21.   if [[ -d $_hgrepo ]]; then
  22.     cd $_hgrepo
  23.     hg pull -u
  24.     msg "The local files are updated."
  25.   else
  26.     hg clone $_hgroot/$_hgrepo
  27.   fi
  28.  
  29.   msg "Mercurial checkout done or server timeout"
  30.   msg "Starting build..."
  31.  
  32.   rm -rf $srcdir/$_hgrepo-build
  33.   cp -r $srcdir/$_hgrepo $srcdir/$_hgrepo-build
  34.   cd $srcdir/$_hgrepo-build
  35.  
  36.   ./configure prefix=/usr
  37.   make
  38.   make svg2png
  39. }
  40.  
  41. package() {
  42.   cd $srcdir/$_hgrepo-build
  43.   make DESTDIR="$pkgdir" install
  44. }
  45.  
  46. # vim:set ts=2 sw=2 et:
  47.  
clone this paste RAW Paste Data