updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / antiktv-svn / PKGBUILD
blobb79e4fc5925abcf4fdb5668efb3c09d67799edff
1 # Maintainer: Jozef Riha <jose1711 at gmail dot com>
3 pkgname=antiktv-svn
4 pkgver=4
5 pkgrel=1
6 pkgdesc="Program for watching IPTV from local ISP Antik.sk"
7 arch=('i686')
8 url="http://code.google.com/p/antiktv/"
9 license=('GPL')
10 source=('antiktv.desktop')
11 makedepends=('fpc' 'lazarus' 'gtk2')
12 md5sums=('28ff7e3cd81a075d3077f79aa9a46308')
14 _svntrunk="http://antiktv.googlecode.com/svn/trunk/"
15 _svnmod="antiktv"
17 build() {
18         cd $srcdir
20         # get the sources
21         msg "Connecting to $_svntrunk ..."
22         if [ -d $_svnmod/.svn ]; then
23                 (cd $_svnmod && svn up) || return 1
24         else
25                 svn co $_svntrunk $_svnmod || return 1
26         fi
27         msg "SVN checkout done or server timeout"
29   install -D -m644 $srcdir/antiktv.desktop $pkgdir/usr/share/applications/antiktv.desktop || return 1
31   cd $srcdir/antiktv
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