[arch-commits] Commit in riscv64-linux-gnu-gdb/repos/community-x86_64 (2 files)

Anatol Pomozov anatolik at archlinux.org
Fri May 29 04:38:28 UTC 2020


    Date: Friday, May 29, 2020 @ 04:38:28
  Author: anatolik
Revision: 636950

archrelease: copy trunk to community-x86_64

Added:
  riscv64-linux-gnu-gdb/repos/community-x86_64/PKGBUILD
    (from rev 636949, riscv64-linux-gnu-gdb/trunk/PKGBUILD)
Deleted:
  riscv64-linux-gnu-gdb/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  105 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-29 04:38:09 UTC (rev 636949)
+++ PKGBUILD	2020-05-29 04:38:28 UTC (rev 636950)
@@ -1,52 +0,0 @@
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-_target=riscv64-linux-gnu
-pkgname=$_target-gdb
-pkgver=9.1
-pkgrel=1
-pkgdesc='The GNU Debugger for the 32bit and 64bit RISC-V target'
-arch=(x86_64)
-url='https://www.gnu.org/software/gdb/'
-license=(GPL3)
-depends=(xz ncurses expat python guile2.0 gdb-common mpfr)
-options=(!emptydirs)
-source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
-validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
-sha256sums=('699e0ec832fdd2f21c8266171ea5bf44024bd05164fdf064e4d10cc4cf0d1737'
-            'SKIP')
-
-prepare() {
-  cd gdb-$pkgver
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-}
-
-build() {
-  cd gdb-$pkgver
-
-  mkdir -p build && cd build
-  ../configure \
-    --target=$_target \
-    --prefix=/usr \
-    --enable-languages=c,c++ \
-    --disable-multilib \
-    --enable-interwork \
-    --with-system-readline \
-    --disable-nls \
-    --with-python=/usr/bin/python \
-    --with-guile=guile-2.0 \
-    --with-system-gdbinit=/etc/gdb/gdbinit
-
-  make
-}
-
-package() {
-  cd gdb-$pkgver/build
-
-  make -C gdb DESTDIR=$pkgdir install
-
-  # Following files conflict with 'gdb'/'gdb-common' packages
-  rm -r $pkgdir/usr/include/gdb/
-  rm -r $pkgdir/usr/share/gdb/
-  rm -r $pkgdir/usr/share/info/
-  rm -r $pkgdir/usr/share/man/man5/
-}

Copied: riscv64-linux-gnu-gdb/repos/community-x86_64/PKGBUILD (from rev 636949, riscv64-linux-gnu-gdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-29 04:38:28 UTC (rev 636950)
@@ -0,0 +1,53 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_target=riscv64-linux-gnu
+pkgname=$_target-gdb
+pkgver=9.2
+pkgrel=1
+pkgdesc='The GNU Debugger for the 32bit and 64bit RISC-V target'
+arch=(x86_64)
+url='https://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(xz ncurses expat python guile2.0 gdb-common mpfr)
+options=(!emptydirs)
+source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+sha256sums=('360cd7ae79b776988e89d8f9a01c985d0b1fa21c767a4295e5f88cb49175c555'
+            'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <brobecker at adacore.com>
+
+prepare() {
+  cd gdb-$pkgver
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd gdb-$pkgver
+
+  mkdir -p build && cd build
+  ../configure \
+    --target=$_target \
+    --prefix=/usr \
+    --enable-languages=c,c++ \
+    --disable-multilib \
+    --enable-interwork \
+    --with-system-readline \
+    --disable-nls \
+    --with-python=/usr/bin/python \
+    --with-guile=guile-2.0 \
+    --with-system-gdbinit=/etc/gdb/gdbinit
+
+  make
+}
+
+package() {
+  cd gdb-$pkgver/build
+
+  make -C gdb DESTDIR=$pkgdir install
+
+  # Following files conflict with 'gdb'/'gdb-common' packages
+  rm -r $pkgdir/usr/include/gdb/
+  rm -r $pkgdir/usr/share/gdb/
+  rm -r $pkgdir/usr/share/info/
+  rm -r $pkgdir/usr/share/man/man5/
+}



More information about the arch-commits mailing list