[arch-commits] Commit in arm-none-eabi-gdb/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Sat Feb 8 21:37:24 UTC 2020


    Date: Saturday, February 8, 2020 @ 21:37:24
  Author: anatolik
Revision: 565026

upgpkg: arm-none-eabi-gdb 9.1-1

Modified:
  arm-none-eabi-gdb/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-08 21:37:10 UTC (rev 565025)
+++ PKGBUILD	2020-02-08 21:37:24 UTC (rev 565026)
@@ -3,8 +3,8 @@
 
 _target=arm-none-eabi
 pkgname=$_target-gdb
-pkgver=8.3.1
-pkgrel=2
+pkgver=9.1
+pkgrel=1
 pkgdesc='The GNU Debugger for the ARM EABI (bare-metal) target'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'
@@ -13,7 +13,7 @@
 optdepends=('stlink: for debugging over STLINK')
 options=(!emptydirs)
 source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
-sha256sums=('1e55b4d7cdca7b34be12f4ceae651623aa73b2fd640152313f9f66a7149757c4'
+sha256sums=('699e0ec832fdd2f21c8266171ea5bf44024bd05164fdf064e4d10cc4cf0d1737'
             'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <brobecker at adacore.com>
 
@@ -25,7 +25,8 @@
 build() {
   cd gdb-$pkgver
 
-  ./configure \
+  mkdir -p build && cd build
+  ../configure \
     --target=$_target \
     --prefix=/usr \
     --enable-languages=c,c++ \
@@ -33,7 +34,7 @@
     --enable-interwork \
     --with-system-readline \
     --disable-nls \
-    --with-python=/usr/bin/python3 \
+    --with-python=/usr/bin/python \
     --with-guile=guile-2.0 \
     --with-system-gdbinit=/etc/gdb/gdbinit
 
@@ -41,7 +42,7 @@
 }
 
 package() {
-  cd gdb-$pkgver
+  cd gdb-$pkgver/build
 
   make -C gdb DESTDIR=$pkgdir install
 



More information about the arch-commits mailing list