[arch-commits] Commit in ppc64le-elf-gdb/repos/community-x86_64 (PKGBUILD PKGBUILD)

Anatol Pomozov anatolik at gemini.archlinux.org
Wed Jun 8 21:33:14 UTC 2022


    Date: Wednesday, June 8, 2022 @ 21:33:14
  Author: anatolik
Revision: 1229395

archrelease: copy trunk to community-x86_64

Added:
  ppc64le-elf-gdb/repos/community-x86_64/PKGBUILD
    (from rev 1229394, ppc64le-elf-gdb/trunk/PKGBUILD)
Deleted:
  ppc64le-elf-gdb/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  104 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 50 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-08 21:32:55 UTC (rev 1229394)
+++ PKGBUILD	2022-06-08 21:33:14 UTC (rev 1229395)
@@ -1,54 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
-# Contributor: Martin Schmölzer <mschmoelzer at gmail.com>
-
-_target=ppc64le-elf
-pkgname=$_target-gdb
-pkgver=10.2
-pkgrel=2
-pkgdesc='The GNU Debugger for the PoerPC 64 LE (bare-metal) target'
-arch=(x86_64)
-url='https://www.gnu.org/software/gdb/'
-license=(GPL3)
-depends=(xz ncurses expat python guile gdb-common mpfr)
-options=(!emptydirs)
-source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
-sha512sums=('3653762ac008e065c37cd641653184c9ff7ce51ee2222ade1122bec9d6cc64dffd4fb74888ef11ac1942064a08910e96b7865112ad37f4602eb0a16bed074caa'
-            '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++ \
-    --enable-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: ppc64le-elf-gdb/repos/community-x86_64/PKGBUILD (from rev 1229394, ppc64le-elf-gdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-08 21:33:14 UTC (rev 1229395)
@@ -0,0 +1,50 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Martin Schmölzer <mschmoelzer at gmail.com>
+
+_target=ppc64le-elf
+pkgname=$_target-gdb
+pkgver=12.1
+pkgrel=1
+pkgdesc='The GNU Debugger for the PoerPC 64 LE (bare-metal) target'
+arch=(x86_64)
+url='https://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(xz ncurses expat python guile gdb-common mpfr source-highlight libelf)
+options=(!emptydirs)
+source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+sha512sums=('425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d'
+            'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <brobecker at adacore.com>
+
+build() {
+  cd gdb-$pkgver
+
+  mkdir -p build && cd build
+  ../configure \
+    --target=$_target \
+    --prefix=/usr \
+    --enable-languages=c,c++ \
+    --enable-multilib \
+    --enable-interwork \
+    --with-system-readline \
+    --disable-nls \
+    --enable-source-highlight \
+    --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