summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 17d75d3a56e639bb0648f727dc17cb05dfae1459 (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
# Maintainer: Lex Black <autumn-wind at web dot de>
# Contributor: mstrlu <mstrlu _at_ gmx _dot_ net>

_pkgname=ccx2
pkgname=ccx2-git
pkgver=0.2.0.18.g04e2f10
pkgrel=3
pkgdesc="Console client for xmms2"
arch=('any')
url="http://github.com/palbo/ccx2"
license=('BSD')
depends=('ncurses' 'python2' 'xmms2')
optdepends=('python2-imaging: display Cover Art'
	'python2-lxml: display lyrics')
provides=('ccx2')
conflicts=('ccx2')
source=('git://github.com/palbo/ccx2.git')
md5sums=('SKIP')


pkgver() {
	cd $_pkgname
	git describe --always | sed -e 's|-|.|g' -e 's|v||'
}

build() {
  cd $srcdir/$_pkgname

  python2 setup.py build
}

package() {
  cd $srcdir/$_pkgname

  python2 setup.py install --root=$pkgdir
  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/ccx2/LICENSE"
}