1 # Maintainer: Jozef Riha <jose1711 at gmail dot com>
6 pkgdesc="Program for watching IPTV from local ISP Antik.sk"
8 url="http://code.google.com/p/antiktv/"
10 source=('antiktv.desktop')
11 makedepends=('fpc' 'lazarus' 'gtk2')
12 md5sums=('28ff7e3cd81a075d3077f79aa9a46308')
14 _svntrunk="http://antiktv.googlecode.com/svn/trunk/"
21 msg "Connecting to $_svntrunk ..."
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up) || return 1
25 svn co $_svntrunk $_svnmod || return 1
27 msg "SVN checkout done or server timeout"
29 install -D -m644 $srcdir/antiktv.desktop $pkgdir/usr/share/applications/antiktv.desktop || return 1
32 fpc -MObjFPC -Sgi -O1 -Xs -WG -vewnhi -l -Fu/usr/lib/lazarus/lcl/units/i386-linux/ -Fu/usr/lib/lazarus/lcl/units/i386-linux/gtk2/ -Fu/usr/lib/lazarus/packager/units/i386-linux/ -Fu. -FE. -oantiktv -dLCL -dLCLgtk2 ./antiktv.lpr
33 install -D -m755 $srcdir/antiktv/antiktv $pkgdir/usr/bin/antiktv