SHARE
TWEET

gmusicbrowser-git PKGBUILD

a guest Oct 24th, 2013 15 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=gmusicbrowser-git
  2. pkgver=v1.1.10.git1142
  3. pkgrel=1
  4. pkgdesc="An open-source jukebox for large collections of mp3/ogg/flac files, written in perl."
  5. arch=('i686' 'x86_64')
  6. url="http://squentin.free.fr/gmusicbrowser/gmusicbrowser.html"
  7. license=('GPL3')
  8. depends=('gtk2-perl')
  9. makedepends=('git' 'markdown')
  10. optdepends=('alsa-utils: enables the ALSA backend'
  11.             'flac123: flac support for the ALSA backend'
  12.             'mpg321: mp3 support for the ALSA backend'
  13.             'vorbis-tools: vorbis support for the ALSA backend'
  14.             'mplayer: enables the mplayer backend'
  15.             'perl-gstreamer: enables the gstreamer backend'
  16.             'gstreamer0.10-base: vorbis support for the gstreamer backend'
  17.             'gstreamer0.10-good-plugins: flac support for the gstreamer backend'
  18.             'gstreamer0.10-ugly-plugins: mp3 support for the gstreamer backend'
  19.             'perl-gtk2-trayicon: tray icon support'
  20.             'perl-gtk2-mozembed: web-based plugins support'
  21.             'perl-gtk2-webkit: alternative web-based plugin support'
  22.             'perl-locale-gettext: localization support'
  23.             'perl-net-dbus: control gmusicbrowser through dbus and gnome hotkeys'
  24.             'perl-gnome2-wnck: titlebar plugin support'
  25.             'perl-html-parser: support for accented characters in lyrics plugin'
  26.             'perl-gtk2-notify: support for notify plugin')
  27. conflicts=('gmusicbrowser' 'gmusicbrowser-devel')
  28. source=("${pkgname}::git+http://github.com/squentin/gmusicbrowser")
  29. md5sums=('SKIP')
  30.  
  31. pkgver(){
  32.         cd ${pkgname}
  33.         echo "$(git describe --always --abbrev=0 | sed 's/v//g').git$(git rev-list --count HEAD | sed 's/-/./g' )"
  34. }
  35.  
  36. build() {
  37.    cd ${srcdir}/${pkgname}
  38.  
  39.    make
  40. }
  41.  
  42. package() {
  43.   cd ${srcdir}/${pkgname}
  44.  
  45.   make DESTDIR=${pkgdir}/ sbindir=/usr/bin install libexecdir=/usr/lib/gmusicbrowser
  46. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top