1 # Maintainer: hydro <hydro@freenet.de>
6 pkgdesc="MPEG-2 cutting tool for removing commercials from demuxed DVB recordings"
8 url="http://ttcut.tritime.de/index.2.html"
10 depends=('qt' 'mplayer' 'transcode')
11 makedepends=('subversion' 'qt' 'libmpeg2')
18 _svntrunk=http://svn.berlios.de/svnroot/repos/ttcut/trunk
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 cp -r $_svnmod $_svnmod-build
36 # . /etc/profile.d/qt4.sh
37 # export PATH=$QTDIR/bin:$PATH
39 qmake ttcut.pro -o Makefile.ttcut || return 1
40 make -f Makefile.ttcut || return 1
41 mkdir -p $startdir/pkg/usr/bin/
42 cp ttcut $startdir/pkg/usr/bin/
44 rm -rf $startdir/src/$_svnmod-build