1 # Maintainer: Jan Dolinar <dolik.rce@gmail.com>
6 pkgdesc="Modern IDE designed for developping large U++/C++ applications"
8 url="http://www.ultimatepp.org"
17 options=(!makeflags emptydirs)
19 source=('http://downloads.sourceforge.net/project/upp/upp/'$pkgver'/upp-x11-src-'$pkgver'.tar.gz'
20 'http://upp-mirror.googlecode.com/svn-history/r2791/trunk/uppbox/lpbuild/Makefile'
21 'http://upp-mirror.googlecode.com/svn-history/r2791/trunk/uppbox/lpbuild/theide.1'
26 cd "$srcdir/upp-x11-src-$pkgver"
28 echo "#define IDE_VERSION \"$pkgver-Arch\"" > "uppsrc/ide/version.h"
29 msg2 "Building $pkgname..."
30 make -f "$srcdir/Makefile" PKG=ide FLAGS="GCC GUI MT" BINPREFIX="$srcdir/_out/bin/the" BINEXT="" NESTS="uppsrc" OBJDIR="$srcdir/_out" $_fast
35 mkdir -p "$pkgdir/usr/bin"
36 cp "$srcdir/_out/bin/theide" "$pkgdir/usr/bin/theide"
38 mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
39 cp "$srcdir/license.txt" "$pkgdir/usr/share/licenses/$pkgname"
41 mkdir -p "$pkgdir/usr/share/man/man1"
42 cp "$srcdir/theide.1" "$pkgdir/usr/share/man/man1/theide.1"
44 mkdir -p "$pkgdir/usr/share/applications"
45 cp "$srcdir/upp-x11-src-$pkgver/uppsrc/ide/theide.desktop" "$pkgdir/usr/share/applications"
47 mkdir -p "$pkgdir/usr/share/pixmaps"
48 cp "$srcdir/upp-x11-src-$pkgver/uppsrc/ide/theide-48.png" "$pkgdir/usr/share/pixmaps/theide.png"
50 find "$pkgdir/usr/" -type f -exec chown root:root {} \; -exec chmod 644 {} \;
51 chmod a+x "$pkgdir/usr/bin/theide"
55 md5sums=('81f49219c3582f96cac73c74a4b92015'
56 'b790a1d08644fcf972528b0cdbb959a2'
57 'b29503ba2b262035c7e2e5ed28986b0d'
58 'b214709f096e4f50d61f50988359241e')