updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / tv_grab_dvb-svn / PKGBUILD
blobec31ea6add363cd4ecde4d83c9004edd0391256e
1 # Contributor: DonVla <donvla@users.sourceforge.net>
3 pkgname=tv_grab_dvb-svn
4 pkgver=86
5 pkgrel=1
6 pkgdesc="A program to dump DVB EPG info in xmltv format."
7 arch=('i686' 'x86_64')
8 url="http://www.darkskiez.co.uk/index.php?page=tv_grab_dvb"
9 license=('GPL')
10 depends=('glibc')
11 makedepends=('gcc')
12 _svntrunk="http://www.darkskiez.co.uk/svn/tv_grab_dvb/trunk"
13 _svnmod=$pkgname
15 build() {
16   cd "$srcdir"
17   
18   if [ -d $_svnmod/.svn ]; then
19     (cd $_svnmod && svn up -r $pkgver)
20   else
21     svn co $_svntrunk --config-dir ./ $_svnmod
22   fi
23   
24   msg "SVN checkout done or server timeout"
25   msg "Starting make..."
26   
27   rm -rf "$srcdir/$_svnmod-build"
28   cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
29   cd "$srcdir/$_svnmod-build"
30   make 
31   install -v -D -m 0755 tv_grab_dvb $pkgdir/usr/bin/tv_grab_dvb