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

Eric Belanger eric at archlinux.org
Fri Aug 29 16:57:05 EDT 2008


    Date: Friday, August 29, 2008 @ 16:57:04
  Author: eric
Revision: 10675

Merged revisions 9539-10674 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/gdb/trunk

........
  r10674 | eric | 2008-08-29 16:56:49 -0400 (Fri, 29 Aug 2008) | 2 lines
  
  upgpkg: gdb 6.8-3
      fixed file conflicts with binutils, added .install file to deal with info files
........

Added:
  gdb/repos/testing-x86_64/gdb.install
    (from rev 10674, gdb/trunk/gdb.install)
Modified:
  gdb/repos/testing-x86_64/	(properties)
  gdb/repos/testing-x86_64/PKGBUILD

-------------+
 PKGBUILD    |    6 ++++--
 gdb.install |   18 ++++++++++++++++++
 2 files changed, 22 insertions(+), 2 deletions(-)


Property changes on: gdb/repos/testing-x86_64
___________________________________________________________________
Name: svnmerge-integrated
   - /gdb/trunk:1-9538
   + /gdb/trunk:1-10674

Modified: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2008-08-29 20:56:49 UTC (rev 10674)
+++ testing-x86_64/PKGBUILD	2008-08-29 20:57:04 UTC (rev 10675)
@@ -2,14 +2,15 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 pkgname=gdb
 pkgver=6.8
-pkgrel=2
+pkgrel=3
 pkgdesc="The GNU Debugger"
 arch=(i686 x86_64)
+url="http://sources.redhat.com/gdb/"
 depends=('ncurses' 'expat')
 options=('!libtool')
 license=('GPL3')
+install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2)
-url="http://sources.redhat.com/gdb/"
 md5sums=('c9da266b884fb8fa54df786dfaadbc7a')
 
 build() {
@@ -22,4 +23,5 @@
   # resolve conflicts with binutils
   rm -f ${startdir}/pkg/usr/include/{bfd,dis-asm,symcat,ansidecl,bfdlink}.h
   rm -f ${startdir}/pkg/usr/lib/{libiberty,libbfd,libopcodes}.a
+  rm -f ${startdir}/pkg/usr/share/info/{bfd.info,configure.info,standards.info}
 }

Copied: gdb/repos/testing-x86_64/gdb.install (from rev 10674, gdb/trunk/gdb.install)
===================================================================
--- testing-x86_64/gdb.install	                        (rev 0)
+++ testing-x86_64/gdb.install	2008-08-29 20:57:04 UTC (rev 10675)
@@ -0,0 +1,18 @@
+infodir=/usr/share/info
+filelist=(annotate.info gdb.info gdb.info-1 gdb.info-2 gdb.info-3 gdb.info-4 gdbint.info gdbint.info-1 gdbint.info-2 stabs.info)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}




More information about the arch-commits mailing list