SHARE
TWEET

gogglesmm

myra_nelson Oct 21st, 2011 28 Never
  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.  
RAW Paste Data
Top