1 # Maintainer: Justin Goguen <adekoba@hamiltonshells.ca>
2 # Contributor: Jaroslav Lichtblau <tu@dragonlord.cz>
7 pkgdesc="A very feature-rich ncurses-based music player"
8 url="http://gitorious.org/cmus/"
11 depends=('libao' 'libmpcdec' 'ffmpeg' 'flac' 'libmad' 'faad2>=2.6.1')
16 _gitroot="git://gitorious.org/cmus/cmus.git"
22 msg "connecting to gitorious.org git server"
23 if [ -d ${srcdir}/$_gitname ] ; then
24 cd $_gitname && git pull origin || return 1
26 git clone $_gitroot $_gitname || return 1
28 msg "git checkout done"
29 msg "starting make ..."
31 rm -rf ${srcdir}/$_gitname-build
32 cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
33 cd ${srcdir}/$_gitname-build
35 ./configure prefix=/usr || return 1
37 make DESTDIR="${pkgdir}" install || return 1