summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a6636a1e57b6ba5600fce9b1dd66eabf8121274e (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
# Maintainer:
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=foobnix-git
pkgver=3.1.r143.88804cc7
pkgrel=1
pkgdesc="GTK+ music player"
arch=('i686' 'x86_64')
url="http://www.foobnix.com"
license=('GPL3')
depends=('python-chardet' 'python-simplejson' 'python-mutagen' 'gst-plugins-good'
         'gst-plugins-base' 'gst-python' 'webkit2gtk' 'libkeybinder3' 'gst-plugins-bad'
         'gst-plugins-ugly' 'gst-libav' 'fuseiso' 'libnotify' 'lame' 'faac'
         'python3-keybinder' 'ffmpeg' 'python-dbus')
makedepends=('git')
optdepends=('python-pylast: Last.FM support')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/foobnix/foobnix.git')
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "%s" "$(git describe --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

package() {
	cd "$srcdir/${pkgname%-git}"
	python setup.py install --root="$pkgdir/" --optimize=1
}