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

Anatol Pomozov anatolik at gemini.archlinux.org
Mon Nov 29 19:40:02 UTC 2021


    Date: Monday, November 29, 2021 @ 19:40:01
  Author: anatolik
Revision: 1057606

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 19:39:38 UTC (rev 1057605)
+++ PKGBUILD	2021-11-29 19:40:01 UTC (rev 1057606)
@@ -1,53 +0,0 @@
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-_target=riscv64-linux-gnu
-pkgname=$_target-gdb
-pkgver=10.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 guile gdb-common mpfr libelf)
-options=(!emptydirs)
-source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
-validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
-sha256sums=('aaa1223d534c9b700a8bec952d9748ee1977513f178727e1bee520ee000b4f29'
-            '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.2 \
-    --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 1057605, riscv64-linux-gnu-gdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-29 19:40:01 UTC (rev 1057606)
@@ -0,0 +1,53 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_target=riscv64-linux-gnu
+pkgname=$_target-gdb
+pkgver=11.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 guile gdb-common mpfr libelf)
+options=(!emptydirs)
+source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+sha256sums=('cccfcc407b20d343fb320d4a9a2110776dd3165118ffd41f4b1b162340333f94'
+            '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.2 \
+    --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