1 # Maintainer: blades <blades at gecko dot org dot uk>
3 pkgname=mediafrontpage-git
6 pkgdesc="A dashboard page for xbmc, sabnzbd, sickbeard, couchpotato, etc."
8 url="https://github.com/MediaFrontPage/mediafrontpage"
12 install='mediafrontpage.install'
14 _gitroot="git://github.com/MediaFrontPage/mediafrontpage.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ]; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
31 mkdir -p "${pkgdir}/srv/http/"
32 cp -r "$srcdir/$_gitname" "${pkgdir}/srv/http/mediafrontpage"