1 # Contributor: Mladen Pejakovic <pejakm@gmail.com>
3 pkgname=subtitlecomposer-svn
6 pkgdesc="A KDE subtitle editor"
8 url="http://sourceforge.net/projects/subcomposer"
10 depends=('kdelibs' 'gettext')
11 makedepends=('cmake' 'automoc4' 'svn')
12 optdepends=("mplayer: for MPlayer backend")
13 conflicts=('subtitlecomposer')
14 provides=("subtitlecomposer")
16 _svnmod="subtitlecomposer"
17 _svntrunk=https://subcomposer.svn.sourceforge.net/svnroot/subcomposer/trunk/
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
33 cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
35 make DESTDIR=${pkgdir} install || return 1