4 pkgdesc="An ncurses xmms2 client"
5 url="https://github.com/pkunavin/ncxmms2"
8 depends=('xmms2' 'ncurses' 'glib')
9 makedepends=('gcc>=4.6' 'make' 'cmake' 'git' 'pkgconfig' 'boost')
13 _gitroot="git://github.com/pkunavin/ncxmms2.git"
19 if [ -d $startdir/src/$_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
28 if [ -d $_gitname-build ]; then
29 rm -rf $_gitname-build
32 cp -a $_gitname $_gitname-build
35 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr . || return 1
37 make DESTDIR=${pkgdir} install || return 1