1 # Maintainer: TDY <tdy@gmx.com>
6 pkgdesc="A tool for repairing corrupted AVI file streams"
8 url="http://divfixpp.sourceforge.net/"
11 makedepends=('gettext' 'subversion')
13 conflicts=('divfixpp')
15 _svntrunk=https://divfixpp.svn.sourceforge.net/svnroot/divfixpp
21 msg "Connecting to divfixpp.svn.sf.net..."
22 if [[ -d $_svnmod/.svn ]]; then
23 cd $_svnmod && svn up -r $pkgver && cd ..
24 msg2 "Local files updated"
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg2 "SVN checkout done"
30 rm -rf $_svnmod/trunk-build
31 cp -r $_svnmod/trunk $_svnmod/trunk-build
32 cd $_svnmod/trunk-build
34 msg "Starting make..."
35 sed -i '42 a\#include <stdint.h>' src/DivFix++Core.h
37 make DESTDIR="$pkgdir" install
38 ln -sf DivFix++ "$pkgdir/usr/bin/divfixpp"