1 # Author: mosra <mosra@centrum.cz>
5 pkgdesc="Simple utility for playing internet radio streams with track notification (Git version)"
7 url="http://mosra.cz/blog/heytrack-en.php"
10 makedepends=('git' 'cmake')
11 optdepends=('kdebase-workspace')
12 conflicts=('heytrack')
15 _gitroot="git://github.com/mosra/heytrack.git"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 mkdir -p "$srcdir/build"
35 cmake -DCMAKE_INSTALL_PREFIX=/usr ../${_gitname}
41 make DESTDIR="$pkgdir/" install