1 # Contributor: Philipp Robbel <robbel@gmail.com>
6 pkgdesc="A graphical interface to the GNU debugger"
8 url="http://sourceware.org/insight/"
11 install=('insight.install')
12 source=(ftp://sourceware.org/pub/insight/releases/$pkgname-$pkgver.tar.bz2 insight.profile)
13 md5sums=('b403972b35520399663c7054e8132ca9' '16dddd252c8d64a1f4757626ee895b03')
15 cd $startdir/src/$pkgname-$pkgver
16 ./configure --prefix=/opt/insight --mandir=/opt/insight/share/man --infodir=/opt/insight/share/info
18 make prefix=$startdir/pkg/opt/insight mandir=$startdir/pkg/opt/insight/share/man infodir=$startdir/pkg/opt/insight/share/info install || return 1
19 rm -rf $startdir/pkg/opt/insight/share/info
21 # environment variables
22 mkdir -p $startdir/pkg/etc/profile.d
23 install -m755 $startdir/${pkgname}.profile $startdir/pkg/etc/profile.d/${pkgname}.sh