4 pkgdesc="An open-source cross-platform IP TV player based on Qt and libvlc"
6 url="http://tano.si/en/projects/tano-player"
8 depends=('vlc>=1.1' 'qt>=4.6' 'libvlc-qt')
9 makedepends=('cmake>=2.6' 'qt>=4.6' 'dbus>=1.4' 'libvlc-qt' 'desktop-file-utils')
13 _gitroot='git://github.com/ntadej/tano.git'
15 _buildir=${_gitname}-build
20 msg 'Connecting to GIT server...'
21 if [ -d ${_gitname} ]; then
22 cd ${_gitname} && git pull origin
28 msg 'GIT checkout done or server timeout.'
30 if [ -d ${_buildir} ]; then
31 msg 'Cleaning previous build...'
35 git clone ${_gitname} ${_buildir}
38 msg 'Running cmake...'
40 cmake . -DCMAKE_INSTALL_PREFIX=/usr \
41 -DCMAKE_SKIP_RPATH=ON \
42 -DCMAKE_BUILD_TYPE=Release
46 msg 'Starting make...'
49 make DESTDIR="${pkgdir}" install || return 1
51 rm -rf ${srcdir}/${_buildir}
56 desktop-file-install -m 644 --dir ${pkgdir}/usr/share/applications/ ${_buildir}/${pkgname}.desktop