1 # Contributor: Sphax <zecmerquise@gmail.com>
5 pkgdesc="Fully-featured Qt4 IDE"
7 url="http://www.edyuk.org"
10 makedepends=('gcc>=4.*')
15 _svntrunk=http://edyuk.svn.sf.net/svnroot/edyuk/trunk
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up)
25 svn co $_svntrunk --config-dir ./ $_svnmod
28 msg "SVN checkout done"
30 if [ -d $startdir/src/$_svnmod-build ]; then
31 rm -r $startdir/src/$_svnmod-build
34 cp -r $startdir/src/$_svnmod $startdir/src/$_svnmod-build
35 cd $startdir/src/$_svnmod-build
37 # Fix path to Qt mkspecs directory
38 # Fix directory for icons on KDE4
39 patch -Np0 -i $startdir/installpri.patch || return 1
45 # second run of qmake, needed for lib directory to be installed correctly
47 make INSTALL_ROOT=$startdir/pkg install
49 # All libs files are installed as binary, but only libedyuk.so.1.0.0
50 # is supposed to be a binary, the others are supposed to be symlinks
51 # Fix this now because of ldconfig reporting an error when installing
53 cd $startdir/pkg/usr/lib
54 rm libedyuk.{so,so.1,so.1.0}
55 ln -s libedyuk.so.1.0.0 libedyuk.so
56 ln -s libedyuk.so.1.0.0 libedyuk.so.1
57 ln -s libedyuk.so.1.0.0 libedyuk.so.1.0