1 # old Contributor: Francesco 'Kiko' Corsentino <kikocorsentino@gmail.com>
2 # Contributor: Michael Krauss <mickraus@googlemail.com>
6 pkgdesc="A graphical disk usage tool based on Qt"
8 source=("http://artis.imag.fr/Membres/Gilles.Debunne/Code/QDU/$pkgname-$pkgver.tar.gz" 'qdu.desktop')
9 md5sums=('a13cac21d9d89980265f56e386a7467d' 'fe4f371c9dae76a082e99b1300996c74')
11 url="http://freshmeat.net/redir/qdu/38383/url_homepage/QDU"
13 arch=('i686' 'x86_64')
16 # We need uic from qt3
17 PATH=/opt/qt/bin:$PATH
19 cd $startdir/src/$pkgname-$pkgver
21 #change install target path
22 sed -i -e "s:/usr/bin:$startdir/pkg/usr/bin:g" qdu.pro
24 #fix bug in qduInterface.ui
25 sed -i -e 's:hint>directoryview:hint>directoryView:g' qduInterface.ui
27 # adjust qt builder version
28 sed -i -e '/^<\!DOCTYPE/ s/3\.1/3\.3/' qduInterface.ui
34 # install desktop file
35 mkdir -p $startdir/pkg/usr/share/applications
36 cp $startdir/qdu.desktop $startdir/pkg/usr/share/applications