1 # Maintainer: MrSunshine
5 pkgdesc="The GNU Debugger With D support"
7 url="http://sources.redhat.com/gdb/"
8 depends=('ncurses' 'expat')
12 makedepends=('gcc' 'subversion')
14 source=(http://ftp.gnu.org/gnu/gdb/gdb-${pkgver}.tar.bz2)
15 md5sums=('c9da266b884fb8fa54df786dfaadbc7a')
18 svn co http://svn.dsource.org/projects/gdb-patches/downloads/gdb6.8/ gdb-patches
19 cd ${startdir}/src/gdb-${pkgver}
20 patch -t -N -p1 -i ${startdir}/src/gdb-patches/gdb-6.8-d-1.patch || return 1
22 ./configure --prefix=/usr --disable-nls --mandir=/usr/share/man \
23 --infodir=/usr/share/info
25 make DESTDIR=${startdir}/pkg install || return 1
26 rm -f ${pkgdir}/usr/share/info/dir
27 # resolve conflicts with binutils
28 rm -f ${startdir}/pkg/usr/include/{bfd,dis-asm,symcat,ansidecl,bfdlink}.h
29 rm -f ${startdir}/pkg/usr/lib/{libiberty,libbfd,libopcodes}.a
30 rm -f ${startdir}/pkg/usr/share/info/{bfd.info,configure.info,standards.info}