updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / insight / PKGBUILD
blob0295df11c967068ebd6cabddb47c513151872ffe
1 # Contributor: Philipp Robbel <robbel@gmail.com>
3 pkgname=insight
4 pkgver=6.8
5 pkgrel=1
6 pkgdesc="A graphical interface to the GNU debugger"
7 arch=('i686')
8 url="http://sourceware.org/insight/"
9 license=('GPL')
10 depends=('libx11')
11 install=('insight.install')
12 source=(ftp://sourceware.org/pub/insight/releases/$pkgname-$pkgver.tar.bz2 insight.profile)
13 md5sums=('b403972b35520399663c7054e8132ca9' '16dddd252c8d64a1f4757626ee895b03')
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
16   ./configure --prefix=/opt/insight --mandir=/opt/insight/share/man --infodir=/opt/insight/share/info
17   make || return 1
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