updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / urmpc / PKGBUILD
blob0936e58892c74817455c63f89903f1331b1250ce
1 # Maintainer: Jacob Courtneay <jacob@sporkexec.com>
2 pkgname=urmpc
3 pkgver=0.1.0
4 pkgrel=1
5 pkgdesc="An MPD client inspired by ncmpcpp using urwid."
6 arch=(any)
7 url="http://github.com/sporkexec/urmpc"
8 license=('GPL')
9 depends=('python2' 'python-urwid' 'python-mpd')
10 makedepends=('git')
11 HOLDVER=1
13 _gitroot='https://github.com/sporkexec/urmpc.git'
14 _gitname=urmpc
16 package() {
17   cd "$srcdir"
18   rm -rf "$_gitname"
19   msg "Connecting to GIT server...."
21   git clone "$_gitroot" "$_gitname"
23   cd "$_gitname"
24   git checkout "tags/$pkgver"
25   msg "GIT checkout done or server timeout"
27   python2 setup.py install --root="$pkgdir/" --optimize=1
30 # vim:set ts=2 sw=2 et: