summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 12e96529018c61855962d7f7def2e488e7805735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Maintainer:  twa022 <twa022 at gmail dot com>
# Contributor: 1213 <lambertacampo at gmail dot com>

_pkgname=exaile
pkgname=${_pkgname}-git
epoch=1
pkgver=4.1.3beta3+11+g1994772c
pkgrel=1
pkgdesc="music player for gnome, similar to KDEs amarok"
arch=('any')
url="https://www.exaile.org"
license=('GPL')
depends=('gtk3' 'python-bsddb' 'python-mutagen' 'dbus-python' 'python-gobject' 
         'python-cairo' 'udisks2' 'librsvg' 'gst-plugins-good')
makedepends=('git' 'help2man')
optdepends=('python-feedparser: podcasts plugin'
            'webkit2gtk: wikipedia plugin'
            'python-lxml: LyricsMania plugin'
            'libkeybinder3: Multimedia keys plugin'
            'python-beautifulsoup4: Lyrics Wiki plugin'
            'libnotify: Notify plugin'
            'streamripper: Streamripper plugin'
            'gnome-screensaver: Pause on screensaver plugin'
            'mate-screensaver: Pause on screensaver plugin'
            'cinnamon-screensaver: Pause on screensaver plugin'
            'xfce4-screensaver: Pause on screensaver plugin'
            'moodbar: Moodbar plugin'
            'python-musicbrainzngs: Musicbrainz cover search plugin & CD tags plugin'
            'python-discid: CD tags plugin'
            'ipython: Ipython console plugin'
            'python-pylast: Last.fm loved tracks plugin'
            'gst-plugins-bad: Additional audio codecs'
            'gst-plugins-ugly: Additional audio codecs'
            'spydaap-git: DAAP server/client')
checkdepends=('python-pytest')
provides=("${_pkgname}=${pkgver%%+*}")
conflicts=("${_pkgname}")
source=("${_pkgname}"::git+https://github.com/exaile/exaile.git)
sha256sums=('SKIP')

pkgver() {
  cd "${_pkgname}"
  git describe --long --tags | sed 's/-beta/beta/;s/-alpha/alpha/;s/-rc/rc/;s/-/+/g'
}

build() {
  cd "${_pkgname}"
  make PREFIX="/usr"

}

check() {
  cd "${_pkgname}"
  make PYTEST="py.test" test
}

package() {
  cd "${_pkgname}"
  make DESTDIR="$pkgdir/" PREFIX="/usr" install
}