updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / lintv-svn / PKGBUILD
blobd3629abd2fefdf55aeff3546a88ebccb034475be
1 # Contributor: Xabre <Xabre_666@operamail.com>
3 pkgname=lintv-svn
4 pkgver=1045587
5 pkgrel=1
6 pkgdesc="KDE4 Tv application"
7 arch=('i686' 'x86_64')
8 url="http://www.kde.org"
9 license=('GPL')
10 depends=('mplayer' 'kdelibs')
11 makedepends=('subversion' 'cmake' 'automoc4')
12 provides=('lintv')
13 conflicts=('lintv')
14 install=('lintv.install')
15 source=()
16 md5sums=()
17 groups=()
18 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/playground/multimedia/lintv
19 _svnmod=lintv
21 build() {
22   cd $startdir/src
24   if [ -d $_svnmod/.svn ]; then
25     (cd $_svnmod && svn up)
26   else
27     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28   fi
30   msg "SVN checkout done or server timeout"
31   msg "Starting make..."
33   rm -rf "$_svnmod-build"
34   mkdir "$_svnmod-build"
35   cd $_svnmod-build
37   cmake $startdir/src/$_svnmod -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=RELEASE
39   make || return 1
40   make DESTDIR=$startdir/pkg install || return 1