1 # Created by Richard Shaw <drowned.flame@gmail.com>
5 pkgdesc="A Python podcast updater"
7 url="http://github.com/openinja/podcastr"
9 depends=('python' 'python-urljr' 'python-feedparser')
15 _gitroot="git://github.com/openinja/podcastr.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 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
36 mkdir -p $pkgdir/usr/bin
37 mkdir -p $pkgdir/usr/share/licenses/$pkgname
38 install -m755 podcastr $pkgdir/usr/bin
39 install LICENSE $pkgdir/usr/share/licenses/$pkgname
41 # install podcastr.conf $pkgdir/etc