1 # created 14:21:01 - 12/10/10
2 # Maintainer: jackuess <chucky at wrutschkow.org>
4 pkgname=pirateplayer-git
7 pkgdesc="Qt-based utility for downloading (and in the future watching) swedish programming"
8 url="http://pirateplay.se/"
10 arch=('i686' 'x86_64')
11 depends=('qt' 'rtmpdump')
13 conflicts=('pirateplayer')
14 provides=('pirateplayer')
16 _gitroot='git://github.com/jackuess/pirateplayer.git'
17 _gitname='pirateplayer'
22 msg "Connecting to github.com GIT server...."
23 if [ -d $srcdir/$_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 if [ -d ${srcdir}/$_gitname-build ]; then
34 rm -r ${srcdir}/$_gitname-build
36 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
37 cd $srcdir/$_gitname-build
39 qmake PREFIX=/usr || return 1
40 make INSTALL_ROOT=${pkgdir} install || return 1