Guest User

exaile aur

a guest
Sep 2nd, 2014
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.99 KB | None | 0 0
  1. # Maintainer: Jorge Barroso <jorge.barroso.11 at gmail dot com>
  2. # Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
  3. # Contributor: Benjamin Wild <benwild@gmx.de>
  4. # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
  5. # Contributor: Joshua Stiefer <facedelajunk@gmail.com>
  6.  
  7. pkgname=exaile
  8. pkgver=3.4.0
  9. pkgrel=1
  10. pkgdesc="A full-featured Amarok-style media player for GTK+"
  11. arch=('any')
  12. url="http://www.exaile.org"
  13. license=('GPL')
  14. depends=('python2'
  15.      'gstreamer0.10-python'
  16.      'gstreamer0.10-good-plugins'
  17.      'gstreamer0.10-base-plugins'
  18.      'mutagen'
  19.      'python2-dbus'
  20.      'pygtk>=2.10'
  21.      'librsvg')
  22. makedepends=('make' 'help2man')
  23. optdepends=('pycddb: CD metadata retrieval'
  24.             'python2-bsddb: music collection support'
  25.             'gstreamer0.10-bad-plugins: support for more formats'
  26.             'gstreamer0.10-ugly-plugins: support for more formats'
  27.             'gstreamer0.10-ffmpeg: support for more formats'
  28.             'python2-beautifulsoup3: lyricwiki plugin'
  29.             'python2-notify: notifyosd plugin'
  30.             'notify-osd: notifyosd plugin'
  31.             'webkitgtk2: contextinfo plugin'
  32.             'pywebkitgtk: contextinfo plugin'
  33.             'python2-pillow: Python Imaging Library (PIL) fork. Python2 version'
  34.             'streamripper: streamripper plugin'
  35.             'moodbar: moodbar plugin')
  36. source=(https://github.com/exaile-dev/exaile/archive/${pkgver}.${pkgrel}.tar.gz)
  37. install=$pkgname.install
  38. sha512sums=('2a3d94fb2d725fdb4c9a78ddb523444bef04f72824b8481264e2a65d556b199078b97265d0b9eb7df4fa8a1d7f6b30e1fe97875e7e48cdfb086338d88dfa4908')
  39. build() {
  40.   cd "${srcdir}/${pkgname}-${pkgver}.${pkgrel}"
  41.  
  42.     make PREFIX=/usr
  43. }
  44.  
  45. package() {
  46.     cd "${srcdir}/${pkgname}-${pkgver}.${pkgrel}"
  47.     make PREFIX=/usr DESTDIR="${pkgdir}" install
  48.  
  49.     # fix for clicking files with spaces in names from nautilus
  50.     sed -i "s#%u#%f#" "${pkgdir}/usr/share/applications/exaile.desktop"
  51.   sed -i "s|Exec=$pkgdir/*|Exec=/|" "${pkgdir}/usr/share/dbus-1/services/org.exaile.Exaile.service"
  52. }
Add Comment
Please, Sign In to add comment