1 # Maintainer: Alessio Sergi <asergi at archlinux dot us>
7 pkgdesc="Just another music player, only better"
9 url="http://gitorious.org/minitunes"
11 depends=('desktop-file-utils' 'hicolor-icon-theme' 'phonon' 'taglib')
13 optdepends=('gstreamer0.10-plugins: for gstreamer backend'
14 'phonon-gstreamer: gstreamer backend'
15 'phonon-mplayer-git: mplayer backend'
16 'phonon-vlc: vlc backend'
17 'phonon-xine: xine backend')
18 provides=(${_realname})
19 conflicts=(${_realname})
20 install=${pkgname}.install
22 _gitroot="git://gitorious.org/${_realname}/${_realname}.git"
28 msg "Connecting to GIT server...."
30 if [ -d ${_gitname} ] ; then
31 cd ${_gitname} && git pull origin
32 msg "The local files are updated."
34 git clone ${_gitroot} ${_gitname}
37 msg "GIT checkout done or server timeout"
38 msg "Starting make..."
40 rm -rf "${srcdir}/${_gitname}-build"
41 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
42 cd "${srcdir}/${_gitname}-build"
48 cd "${srcdir}/${_gitname}-build"
50 make INSTALL_ROOT="${pkgdir}" install