1 # Maintainer : Phil Miller <philm[at]chakra-project[dot]org
7 pkgdesc="a free crossplatform Qt4 IDE"
9 url="http://monkeystudio.org"
11 conflicts=('monkeystudio' 'kdemod-monkeystudio2' 'kdemod-monkeystudio2-svn' 'monkeystudio2-svn')
13 source=(http://monkeystudio.googlecode.com/files/mks_${pkgver}-${_svn}-src.tar.gz)
15 md5sums=('e748f88770e6b783731d73aed234e597')
20 cd $startdir/src/mks_$pkgver-$_svn
25 mkdir -p $startdir/pkg/usr/share/monkeystudio/apis/
26 mkdir -p $startdir/pkg/usr/share/monkeystudio/translations/
27 mkdir -p $startdir/pkg/usr/lib/monkeystudio/
28 mkdir -p $startdir/pkg/usr/bin/
29 mkdir -p $startdir/pkg/usr/share/applications/
30 mkdir -p $startdir/pkg/usr/share/pixmaps/
32 cp -f -r $startdir/src/mks_$pkgver-$_svn/templates $startdir/pkg/usr/share/monkeystudio/
33 cp -f -r $startdir/src/mks_$pkgver-$_svn/ctags/apis $startdir/pkg/usr/share/monkeystudio/
34 chmod 644 $startdir/pkg/usr/share/monkeystudio/apis/*
35 cp -f -r $startdir/src/mks_$pkgver-$_svn/translations $startdir/pkg/usr/share/monkeystudio/
36 chmod 644 $startdir/pkg/usr/share/monkeystudio/translations/*
37 cp -f -r $startdir/src/mks_$pkgver-$_svn/bin/plugins/* $startdir/pkg/usr/lib/monkeystudio/
38 install -m 755 -p $startdir/src/mks_$pkgver-$_svn/bin/monkeystudio $startdir/pkg/usr/bin/
39 strip $startdir/pkg/usr/bin/monkeystudio
40 install -m 644 -p $startdir/src/mks_$pkgver-$_svn/links/monkeystudio.desktop $startdir/pkg/usr/share/applications/
41 install -m 644 -p $startdir/src/mks_$pkgver-$_svn/links/monkeystudio.png $startdir/pkg/usr/share/pixmaps/