1 # Contributor: Tim Yang <tdy@gmx.com>
2 # Contributor: adriano <adriano.src@gmail.com>
6 pkgdesc="A lightweight web browser based on KDE"
8 url="http://code.google.com/p/eurekabrowser/"
10 depends=('kdebase-runtime')
11 makedepends=('automoc4' 'cmake' 'subversion')
12 provides=('eureka=0.5')
17 _svntrunk="http://eurekabrowser.googlecode.com/svn/trunk/"
23 msg "Connecting to $_svntrunk..."
24 if [ -d "$_svnmod/.svn" ]; then
26 msg2 "Local files updated"
28 svn co $_svntrunk --config-dir ./ $_svnmod
29 msg2 "SVN checkout done"
32 rm -rf "$srcdir/$_svnmod-build"
33 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
34 cd "$srcdir/$_svnmod-build"
36 msg "Starting make..."
37 cmake -DCMAKE_INSTALL_PREFIX=/usr \
38 -DCMAKE_BUILD_TYPE=Release . || return 1
40 make DESTDIR="$pkgdir" install || return 1
41 install -Dm644 src/eurekaui.rc "$pkgdir/opt/kde/share/apps/eureka/eurekaui.rc"