[arch-commits] Commit in gdb/repos/staging-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Jan 10 23:55:23 UTC 2019


    Date: Thursday, January 10, 2019 @ 23:55:23
  Author: felixonmars
Revision: 343536

archrelease: copy trunk to staging-x86_64

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

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-10 23:55:04 UTC (rev 343535)
+++ PKGBUILD	2019-01-10 23:55:23 UTC (rev 343536)
@@ -1,58 +0,0 @@
-# Maintainer: Allan McRae <allan at archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-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.2.1
-pkgrel=2
-pkgdesc='The GNU Debugger'
-arch=(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=('023556a6d6effa1ffaadf0007cc4458cbe8dde3d'
-          '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 -C gdb/data-directory DESTDIR=$pkgdir install
-}
-
-package_gdb() {
-  depends=(ncurses expat xz mpfr gdb-common=$pkgver)
-  backup=(etc/gdb/gdbinit)
-
-  cd gdb-$pkgver
-  make -C gdb DESTDIR=$pkgdir install
-
-  # install "custom" system gdbinit
-  install -dm755 $pkgdir/etc/gdb
-  touch $pkgdir/etc/gdb/gdbinit
-
-  # comes from gdb-common
-  rm -r $pkgdir/usr/share/gdb/
-}

Copied: gdb/repos/staging-x86_64/PKGBUILD (from rev 343535, gdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-10 23:55:23 UTC (rev 343536)
@@ -0,0 +1,58 @@
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+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.2.1
+pkgrel=3
+pkgdesc='The GNU Debugger'
+arch=(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=('023556a6d6effa1ffaadf0007cc4458cbe8dde3d'
+          '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 -C gdb/data-directory DESTDIR=$pkgdir install
+}
+
+package_gdb() {
+  depends=(ncurses expat xz mpfr gdb-common=$pkgver)
+  backup=(etc/gdb/gdbinit)
+
+  cd gdb-$pkgver
+  make -C gdb DESTDIR=$pkgdir install
+
+  # install "custom" system gdbinit
+  install -dm755 $pkgdir/etc/gdb
+  touch $pkgdir/etc/gdb/gdbinit
+
+  # comes from gdb-common
+  rm -r $pkgdir/usr/share/gdb/
+}


More information about the arch-commits mailing list