1 # Contributor: Igor Scabini <furester at gmail.com>
3 pkgname=edje_viewer-svn
6 pkgdesc="edje file viewer"
9 url="http://www.enlightenment.org"
11 depends=('elementary')
13 conflicts=('edje_viewer')
14 provides=('edje_viewer')
15 replaces=('edje_viewer-cvs')
20 _svntrunk="http://svn.enlightenment.org/svn/e/trunk/edje_viewer"
26 msg "Connecting to $_svntrunk SVN server...."
27 if [ -d $_svnmod/.svn ]; then
28 (cd $_svnmod && svn up -r $pkgver)
30 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
33 msg "SVN checkout done or server timeout"
34 msg "Starting make..."
36 cp -r $_svnmod $_svnmod-build
39 ./autogen.sh --prefix=/usr
42 make DESTDIR=$pkgdir install || return 1
44 # install license files
45 install -Dm644 $srcdir/$_svnmod-build/COPYING \
46 $pkgdir/usr/share/licenses/$pkgname/COPYING
48 rm -r $startdir/src/$_svnmod-build