[arch-commits] Commit in gdb/repos (4 files)

2017-09-07 Thread Anatol Pomozov
Date: Thursday, September 7, 2017 @ 22:20:13
  Author: anatolik
Revision: 305022

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  gdb/repos/extra-i686/PKGBUILD
(from rev 305021, gdb/trunk/PKGBUILD)
  gdb/repos/extra-x86_64/PKGBUILD
(from rev 305021, gdb/trunk/PKGBUILD)
Deleted:
  gdb/repos/extra-i686/PKGBUILD
  gdb/repos/extra-x86_64/PKGBUILD

---+
 /PKGBUILD |  142 
 extra-i686/PKGBUILD   |   71 
 extra-x86_64/PKGBUILD |   71 
 3 files changed, 142 insertions(+), 142 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-09-07 22:19:20 UTC (rev 305021)
+++ extra-i686/PKGBUILD 2017-09-07 22:20:13 UTC (rev 305022)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-# Contributor: Jan de Groot 
-
-pkgbase=gdb
-# gdb-common is a package that contains files common for all cross compiled 
versions
-# of gdb (for arm/avr/...)
-pkgname=(gdb gdb-common)
-pkgver=8.0
-pkgrel=1
-pkgdesc='The GNU Debugger'
-arch=(i686 x86_64)
-url='http://www.gnu.org/software/gdb/'
-license=(GPL3)
-makedepends=(texinfo python guile2.0 ncurses expat xz)
-source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('148c8e783ebf9b281241d0566db59961191ec64d'
-  'SKIP')
-validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
-
-prepare() {
-  cd gdb-$pkgver
-
-  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-}
-
-build() {
-  cd gdb-$pkgver
-  
-  ./configure --prefix=/usr --disable-nls \
---with-system-readline \
---with-python=/usr/bin/python3 \
---with-guile=guile-2.0 \
---with-system-gdbinit=/etc/gdb/gdbinit
-  make
-}
-
-package_gdb-common() {
-  depends=(python guile2.0)
-
-  cd gdb-$pkgver
-  make DESTDIR=$pkgdir install
-
-  # resolve conflicts with binutils
-  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
-  rm $pkgdir/usr/share/info/bfd.info
-  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
-
-  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
-}
-
-package_gdb() {
-  depends=(ncurses expat xz gdb-common=$pkgver)
-  backup=(etc/gdb/gdbinit)
-
-  cd gdb-$pkgver
-  make DESTDIR=$pkgdir install
-
-  # install "custom" system gdbinit
-  install -dm755 $pkgdir/etc/gdb
-  touch $pkgdir/etc/gdb/gdbinit
-
-  # resolve conflicts with binutils
-  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
-  rm $pkgdir/usr/share/info/bfd.info
-  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
-
-  # comes from gdb-common
-  rm -r $pkgdir/usr/share/gdb/
-}

Copied: gdb/repos/extra-i686/PKGBUILD (from rev 305021, gdb/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-09-07 22:20:13 UTC (rev 305022)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=8.0.1
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile2.0 ncurses expat xz)
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('faa945f77cf9bb5ae9530664f8b34ad21e38088f'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-guile=guile-2.0 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile2.0)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  

[arch-commits] Commit in gdb/repos (4 files)

2017-06-04 Thread Anatol Pomozov
Date: Monday, June 5, 2017 @ 01:40:02
  Author: anatolik
Revision: 297798

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 297797, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 297797, gdb/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   71 ++
 testing-x86_64/PKGBUILD |   71 ++
 2 files changed, 142 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 297797, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-06-05 01:40:02 UTC (rev 297798)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=8.0
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile2.0 ncurses expat xz)
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('148c8e783ebf9b281241d0566db59961191ec64d'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-guile=guile-2.0 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile2.0)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # comes from gdb-common
+  rm -r $pkgdir/usr/share/gdb/
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 297797, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-06-05 01:40:02 UTC (rev 297798)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=8.0
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile2.0 ncurses expat xz)
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('148c8e783ebf9b281241d0566db59961191ec64d'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-guile=guile-2.0 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile2.0)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm 

[arch-commits] Commit in gdb/repos (4 files)

2017-04-04 Thread Anatol Pomozov
Date: Tuesday, April 4, 2017 @ 14:36:45
  Author: anatolik
Revision: 292072

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/PKGBUILD
(from rev 292071, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 292071, gdb/trunk/PKGBUILD)
Deleted:
  gdb/repos/testing-i686/PKGBUILD
  gdb/repos/testing-x86_64/PKGBUILD

-+
 /PKGBUILD   |  142 ++
 testing-i686/PKGBUILD   |   71 ---
 testing-x86_64/PKGBUILD |   71 ---
 3 files changed, 142 insertions(+), 142 deletions(-)

Deleted: testing-i686/PKGBUILD
===
--- testing-i686/PKGBUILD   2017-04-04 14:35:56 UTC (rev 292071)
+++ testing-i686/PKGBUILD   2017-04-04 14:36:45 UTC (rev 292072)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-# Contributor: Jan de Groot 
-
-pkgbase=gdb
-# gdb-common is a package that contains files common for all cross compiled 
versions
-# of gdb (for arm/avr/...)
-pkgname=(gdb gdb-common)
-pkgver=7.12.1
-pkgrel=2
-pkgdesc='The GNU Debugger'
-arch=(i686 x86_64)
-url='http://www.gnu.org/software/gdb/'
-license=(GPL3)
-makedepends=(texinfo python guile2.0 ncurses expat xz)
-source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('ef77c5345d6f9fdcdf7a5d8503301242b701936e'
-  'SKIP')
-validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
-
-prepare() {
-  cd gdb-$pkgver
-
-  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-}
-
-build() {
-  cd gdb-$pkgver
-  
-  ./configure --prefix=/usr --disable-nls \
---with-system-readline \
---with-python=/usr/bin/python3 \
---with-guile=guile-2.0 \
---with-system-gdbinit=/etc/gdb/gdbinit
-  make
-}
-
-package_gdb-common() {
-  depends=(python guile)
-
-  cd gdb-$pkgver
-  make DESTDIR=$pkgdir install
-
-  # resolve conflicts with binutils
-  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
-  rm $pkgdir/usr/share/info/bfd.info
-  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
-
-  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
-}
-
-package_gdb() {
-  depends=(ncurses expat xz gdb-common=$pkgver)
-  backup=(etc/gdb/gdbinit)
-
-  cd gdb-$pkgver
-  make DESTDIR=$pkgdir install
-
-  # install "custom" system gdbinit
-  install -dm755 $pkgdir/etc/gdb
-  touch $pkgdir/etc/gdb/gdbinit
-
-  # resolve conflicts with binutils
-  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
-  rm $pkgdir/usr/share/info/bfd.info
-  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
-
-  # comes from gdb-common
-  rm -r $pkgdir/usr/share/gdb/
-}

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 292071, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-04-04 14:36:45 UTC (rev 292072)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12.1
+pkgrel=3
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile2.0 ncurses expat xz)
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('ef77c5345d6f9fdcdf7a5d8503301242b701936e'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-guile=guile-2.0 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile2.0)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm 

[arch-commits] Commit in gdb/repos (4 files)

2017-03-29 Thread Anatol Pomozov
Date: Thursday, March 30, 2017 @ 04:22:31
  Author: anatolik
Revision: 291841

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  gdb/repos/staging-i686/
  gdb/repos/staging-i686/PKGBUILD
(from rev 291840, gdb/trunk/PKGBUILD)
  gdb/repos/staging-x86_64/
  gdb/repos/staging-x86_64/PKGBUILD
(from rev 291840, gdb/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   71 ++
 staging-x86_64/PKGBUILD |   71 ++
 2 files changed, 142 insertions(+)

Copied: gdb/repos/staging-i686/PKGBUILD (from rev 291840, gdb/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-03-30 04:22:31 UTC (rev 291841)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12.1
+pkgrel=2
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile2.0 ncurses expat xz)
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('ef77c5345d6f9fdcdf7a5d8503301242b701936e'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-guile=guile-2.0 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # comes from gdb-common
+  rm -r $pkgdir/usr/share/gdb/
+}

Copied: gdb/repos/staging-x86_64/PKGBUILD (from rev 291840, gdb/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-03-30 04:22:31 UTC (rev 291841)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12.1
+pkgrel=2
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile2.0 ncurses expat xz)
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('ef77c5345d6f9fdcdf7a5d8503301242b701936e'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-guile=guile-2.0 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm 

[arch-commits] Commit in gdb/repos (4 files)

2017-01-25 Thread Anatol Pomozov
Date: Wednesday, January 25, 2017 @ 12:20:40
  Author: anatolik
Revision: 287416

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 287415, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 287415, gdb/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   70 ++
 testing-x86_64/PKGBUILD |   70 ++
 2 files changed, 140 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 287415, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-01-25 12:20:40 UTC (rev 287416)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12.1
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile ncurses expat xz)
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('ef77c5345d6f9fdcdf7a5d8503301242b701936e'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # comes from gdb-common
+  rm -r $pkgdir/usr/share/gdb/
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 287415, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-01-25 12:20:40 UTC (rev 287416)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12.1
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile ncurses expat xz)
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('ef77c5345d6f9fdcdf7a5d8503301242b701936e'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # 

[arch-commits] Commit in gdb/repos (4 files)

2016-12-24 Thread Bartłomiej Piotrowski
Date: Saturday, December 24, 2016 @ 11:27:23
  Author: bpiotrowski
Revision: 284611

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  gdb/repos/staging-i686/
  gdb/repos/staging-i686/PKGBUILD
(from rev 284610, gdb/trunk/PKGBUILD)
  gdb/repos/staging-x86_64/
  gdb/repos/staging-x86_64/PKGBUILD
(from rev 284610, gdb/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   70 ++
 staging-x86_64/PKGBUILD |   70 ++
 2 files changed, 140 insertions(+)

Copied: gdb/repos/staging-i686/PKGBUILD (from rev 284610, gdb/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2016-12-24 11:27:23 UTC (rev 284611)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12
+pkgrel=4
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile ncurses expat xz)
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('1a6a0f2fe04d6ac9ba85048af35610e0fc217300'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # comes from gdb-common
+  rm -r $pkgdir/usr/share/gdb/
+}

Copied: gdb/repos/staging-x86_64/PKGBUILD (from rev 284610, gdb/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-12-24 11:27:23 UTC (rev 284611)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12
+pkgrel=4
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile ncurses expat xz)
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('1a6a0f2fe04d6ac9ba85048af35610e0fc217300'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # 

[arch-commits] Commit in gdb/repos (4 files)

2016-11-07 Thread Felix Yan
Date: Monday, November 7, 2016 @ 10:16:41
  Author: felixonmars
Revision: 280023

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  gdb/repos/staging-i686/PKGBUILD
(from rev 280022, gdb/trunk/PKGBUILD)
  gdb/repos/staging-x86_64/PKGBUILD
(from rev 280022, gdb/trunk/PKGBUILD)
Deleted:
  gdb/repos/staging-i686/PKGBUILD
  gdb/repos/staging-x86_64/PKGBUILD

-+
 /PKGBUILD   |  140 ++
 staging-i686/PKGBUILD   |   70 ---
 staging-x86_64/PKGBUILD |   70 ---
 3 files changed, 140 insertions(+), 140 deletions(-)

Deleted: staging-i686/PKGBUILD
===
--- staging-i686/PKGBUILD   2016-11-07 10:16:12 UTC (rev 280022)
+++ staging-i686/PKGBUILD   2016-11-07 10:16:41 UTC (rev 280023)
@@ -1,70 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-# Contributor: Jan de Groot 
-
-pkgbase=gdb
-# gdb-common is a package that contains files common for all cross compiled 
versions
-# of gdb (for arm/avr/...)
-pkgname=(gdb gdb-common)
-pkgver=7.12
-pkgrel=2
-pkgdesc='The GNU Debugger'
-arch=(i686 x86_64)
-url='http://www.gnu.org/software/gdb/'
-license=(GPL3)
-makedepends=(texinfo python guile ncurses expat xz)
-source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('1a6a0f2fe04d6ac9ba85048af35610e0fc217300'
-  'SKIP')
-validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
-
-prepare() {
-  cd gdb-$pkgver
-
-  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-}
-
-build() {
-  cd gdb-$pkgver
-  
-  ./configure --prefix=/usr --disable-nls \
---with-system-readline \
---with-python=/usr/bin/python3 \
---with-system-gdbinit=/etc/gdb/gdbinit
-  make
-}
-
-package_gdb-common() {
-  depends=(python guile)
-
-  cd gdb-$pkgver
-  make DESTDIR=$pkgdir install
-
-  # resolve conflicts with binutils
-  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
-  rm $pkgdir/usr/share/info/bfd.info
-  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
-
-  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
-}
-
-package_gdb() {
-  depends=(ncurses expat xz gdb-common=$pkgver)
-  backup=(etc/gdb/gdbinit)
-
-  cd gdb-$pkgver
-  make DESTDIR=$pkgdir install
-
-  # install "custom" system gdbinit
-  install -dm755 $pkgdir/etc/gdb
-  touch $pkgdir/etc/gdb/gdbinit
-
-  # resolve conflicts with binutils
-  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
-  rm $pkgdir/usr/share/info/bfd.info
-  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
-
-  # comes from gdb-common
-  rm -r $pkgdir/usr/share/gdb/
-}

Copied: gdb/repos/staging-i686/PKGBUILD (from rev 280022, gdb/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2016-11-07 10:16:41 UTC (rev 280023)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12
+pkgrel=3
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile ncurses expat xz)
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('1a6a0f2fe04d6ac9ba85048af35610e0fc217300'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm 

[arch-commits] Commit in gdb/repos (4 files)

2016-11-07 Thread Felix Yan
Date: Monday, November 7, 2016 @ 09:35:43
  Author: felixonmars
Revision: 280017

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  gdb/repos/staging-i686/
  gdb/repos/staging-i686/PKGBUILD
(from rev 280016, gdb/trunk/PKGBUILD)
  gdb/repos/staging-x86_64/
  gdb/repos/staging-x86_64/PKGBUILD
(from rev 280016, gdb/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   70 ++
 staging-x86_64/PKGBUILD |   70 ++
 2 files changed, 140 insertions(+)

Copied: gdb/repos/staging-i686/PKGBUILD (from rev 280016, gdb/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2016-11-07 09:35:43 UTC (rev 280017)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12
+pkgrel=2
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile ncurses expat xz)
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('1a6a0f2fe04d6ac9ba85048af35610e0fc217300'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # comes from gdb-common
+  rm -r $pkgdir/usr/share/gdb/
+}

Copied: gdb/repos/staging-x86_64/PKGBUILD (from rev 280016, gdb/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-11-07 09:35:43 UTC (rev 280017)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12
+pkgrel=2
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile ncurses expat xz)
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('1a6a0f2fe04d6ac9ba85048af35610e0fc217300'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # comes 

[arch-commits] Commit in gdb/repos (4 files)

2016-10-07 Thread Anatol Pomozov
Date: Friday, October 7, 2016 @ 19:41:56
  Author: anatolik
Revision: 277907

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 277906, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 277906, gdb/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   70 ++
 testing-x86_64/PKGBUILD |   70 ++
 2 files changed, 140 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 277906, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-10-07 19:41:56 UTC (rev 277907)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile ncurses expat xz)
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('1a6a0f2fe04d6ac9ba85048af35610e0fc217300'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # comes from gdb-common
+  rm -r $pkgdir/usr/share/gdb/
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 277906, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-10-07 19:41:56 UTC (rev 277907)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.12
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile ncurses expat xz)
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('1a6a0f2fe04d6ac9ba85048af35610e0fc217300'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # comes 

[arch-commits] Commit in gdb/repos (4 files)

2016-08-15 Thread Anatol Pomozov
Date: Monday, August 15, 2016 @ 19:05:09
  Author: anatolik
Revision: 273815

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 273814, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 273814, gdb/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   70 ++
 testing-x86_64/PKGBUILD |   70 ++
 2 files changed, 140 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 273814, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-08-15 19:05:09 UTC (rev 273815)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.11.1
+pkgrel=2
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile ncurses expat xz)
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('df23fde077df1b8555949281bc963596f70de3ec'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # comes from gdb-common
+  rm -r $pkgdir/usr/share/gdb/
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 273814, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-08-15 19:05:09 UTC (rev 273815)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled 
versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=7.11.1
+pkgrel=2
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(texinfo python guile ncurses expat xz)
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('df23fde077df1b8555949281bc963596f70de3ec'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package_gdb-common() {
+  depends=(python guile)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  rm -r $pkgdir/usr/{bin,include,lib,share/info,share/man}
+}
+
+package_gdb() {
+  depends=(ncurses expat xz gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+
+  # comes 

[arch-commits] Commit in gdb/repos (4 files)

2016-06-01 Thread Anatol Pomozov
Date: Wednesday, June 1, 2016 @ 20:33:45
  Author: anatolik
Revision: 268829

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-i686/PKGBUILD
(from rev 268828, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 268828, gdb/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   49 ++
 testing-x86_64/PKGBUILD |   49 ++
 2 files changed, 98 insertions(+)

Copied: gdb/repos/testing-i686/PKGBUILD (from rev 268828, gdb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-06-01 18:33:45 UTC (rev 268829)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgname=gdb
+pkgver=7.11.1
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(ncurses expat python xz guile)
+makedepends=(texinfo)
+backup=(etc/gdb/gdbinit)
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('df23fde077df1b8555949281bc963596f70de3ec'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+}

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 268828, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-06-01 18:33:45 UTC (rev 268829)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Jan de Groot 
+
+pkgname=gdb
+pkgver=7.11.1
+pkgrel=1
+pkgdesc='The GNU Debugger'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(ncurses expat python xz guile)
+makedepends=(texinfo)
+backup=(etc/gdb/gdbinit)
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('df23fde077df1b8555949281bc963596f70de3ec'
+  'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+  cd gdb-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python3 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,plugin-api,symcat}.h
+  rm $pkgdir/usr/share/info/bfd.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
+}


[arch-commits] Commit in gdb/repos (4 files)

2014-02-06 Thread Allan McRae
Date: Thursday, February 6, 2014 @ 14:28:32
  Author: allan
Revision: 205508

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gdb/repos/testing-i686/
  gdb/repos/testing-x86_64/
  gdb/repos/testing-x86_64/PKGBUILD
(from rev 205507, gdb/trunk/PKGBUILD)
  gdb/repos/testing-x86_64/gdb.install
(from rev 205507, gdb/trunk/gdb.install)

-+
 PKGBUILD|   48 
 gdb.install |   20 
 2 files changed, 68 insertions(+)

Copied: gdb/repos/testing-x86_64/PKGBUILD (from rev 205507, gdb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-02-06 13:28:32 UTC (rev 205508)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Jan de Groot j...@archlinux.org
+
+pkgname=gdb
+pkgver=7.7
+pkgrel=1
+pkgdesc=The GNU Debugger
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/gdb/;
+license=('GPL3')
+depends=('ncurses' 'expat' 'python2')
+makedepends=('texinfo')
+backup=('etc/gdb/gdbinit')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('271a18f41858a7e98b28ae4eb91287c9'
+ 'SKIP')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure
+}
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  
+  ./configure --prefix=/usr --disable-nls \
+--with-system-readline \
+--with-python=/usr/bin/python2 \
+--with-system-gdbinit=/etc/gdb/gdbinit
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # install custom system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # resolve conflicts with binutils
+  rm ${pkgdir}/usr/include/{ansidecl,bfd,bfdlink,dis-asm,symcat}.h
+  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+}

Copied: gdb/repos/testing-x86_64/gdb.install (from rev 205507, 
gdb/trunk/gdb.install)
===
--- testing-x86_64/gdb.install  (rev 0)
+++ testing-x86_64/gdb.install  2014-02-06 13:28:32 UTC (rev 205508)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(annotate.info gdb.info{,-{1,2,3,4,5,6}} stabs.info)
+
+post_install() {
+  [[ -x usr/bin/install-info ]] || return 0
+  for file in ${filelist[@]}; do
+install-info $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [[ -x usr/bin/install-info ]] || return 0
+  for file in ${filelist[@]}; do
+install-info --delete $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}