1 # Contributor: BinkyTheClown <binky_at_archlinux_dot_us>
2 pkgname=sourcenavigator
5 pkgdesc="A source code analysis tool"
7 url="http://developer.berlios.de/projects/sourcenav"
10 source=(http://download.berlios.de/sourcenav/sourcenavigator-$pkgver.tar.bz2
11 sourcenavigator.profile)
12 md5sums=('55a8cab1843da36f7d77ab1786dd107f'
13 'a344c2b9c659a371b44b7e9de6254a76')
16 export MAKEFLAGS="-j1"
18 cd ${srcdir}/${pkgname}-${pkgver}
19 ./configure --prefix=/opt/${pkgname}
21 # fixes "Can't find a usable tk.tcl in the following directories" error
22 sed -i '178,185 d' tk/library/listbox.tcl
23 sed -i '453,460 d' tk/library/text.tcl
26 make DESTDIR=${pkgdir} install
27 rm -rf ${pkgdir}/opt/${pkgname}/html
28 install -m 755 -D ${srcdir}/sourcenavigator.profile ${pkgdir}/etc/profile.d/sourcenavigator.sh