1 # Contributor: Majki <majki@majki.hu>
6 pkgdesc="Ultimate++ is a C++ cross-platform rapid application development IDE."
7 url="http://www.ultimatepp.org/"
9 depends=('gcc' 'libxft' 'libnotify' 'libpng')
10 optdepends=('valgrind')
12 source=(http://downloads.sourceforge.net/project/upp/upp/$pkgver/upp-x11-src-$pkgver.tar.gz doinstall)
13 md5sums=('05d5227da145d681f57286e19bd59ff2' 'e229c42b8ce85a2fb2caf1400de0c712')
16 cd $srcdir/upp-x11-src-$pkgver
18 # patching this idiotic build system ;-)
19 sed -i '/^CC\ =/s/\(.*\)/\1\ -O2\ -march=native/' uppsrc/Makefile
20 sed -i '/^cp uppsrc/d' domake
21 sed -i '/RELEASE_OPTIONS/s/-O1/-O2\ -march=native/' GCC.bm
22 cp ../../doinstall doinstall
25 sh doinstall $pkgdir || return 1
27 echo -e "\n If you prefer command line, just type upp to start the IDE.\n Have fun ;)\n"