1 # Contributor: Dario Andres Rodriguez <andresbajotierra@gmail.com>
6 pkgdesc="Open Source Development Environment for Qt 4 - SVN Version"
8 url="http://groups.google.com/group/haiq"
12 source=(haiq.desktop haiqpaths.h haiqmarker.cpp.patch)
14 _svntrunk=https://haiq.svn.sourceforge.net/svnroot/haiq
21 msg "Retrieving sources from SVN"
22 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
24 msg "SVN checkout done or server timeout"
25 msg "Starting make..."
28 cp $startdir/src/haiqpaths.h $startdir/src/haiq/src/haiqcoreinterface
31 patch $startdir/src/haiq/src/haiqcoreinterface/haiqmarker.cpp $startdir/src/haiqmarker.cpp.patch
33 cd $startdir/src/haiq/
36 make translation || return 1
40 mkdir -p $startdir/pkg/usr/{bin,share,lib}
41 mkdir -p $startdir/pkg/usr/share/{haiq,applications,pixmaps}
42 mkdir -p $startdir/pkg/usr/share/haiq/translations
43 mkdir -p $startdir/pkg/usr/lib/haiq/plugins
46 install -m755 $startdir/src/haiq/bin/haiq.bin $startdir/pkg/usr/bin/haiq
47 install -m755 $startdir/src/haiq/bin/qmake-HaiQ $startdir/pkg/usr/bin/
50 install -m644 $startdir/src/haiq/bin/libhaiqcoreinterface.so.1.0.0 $startdir/pkg/usr/lib
53 ln -s /usr/lib/libhaiqcoreinterface.so.1.0.0 $startdir/pkg/usr/lib/libhaiqcoreinterface.so.1.0
54 ln -s /usr/lib/libhaiqcoreinterface.so.1.0.0 $startdir/pkg/usr/lib/libhaiqcoreinterface.so.1
55 ln -s /usr/lib/libhaiqcoreinterface.so.1.0.0 $startdir/pkg/usr/lib/libhaiqcoreinterface.so
58 install -m644 $startdir/src/haiq/plugins/* $startdir/pkg/usr/lib/haiq/plugins/
61 cp -r $startdir/src/haiq/templates $startdir/pkg/usr/share/haiq/
64 cp $startdir/src/haiq/translations/*.qm $startdir/pkg/usr/share/haiq/translations
67 install -m644 $startdir/src/haiq/src/plugins/system/applicationicons/icons/HaiQIcon.png $startdir/pkg/usr/share/pixmaps/haiq.png
68 install -m644 $startdir/src/haiq.desktop $startdir/pkg/usr/share/applications/
72 md5sums=('79ecfae30486f4850cd6e20e262a9160'
73 '9dd429e94e427ec61e7f0b166adb96b8'
74 '269baadb015e8825c496c3ae2f663c8c')