[arch-commits] Commit in avr-gdb/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Sat Feb 8 21:33:52 UTC 2020


    Date: Saturday, February 8, 2020 @ 21:33:50
  Author: anatolik
Revision: 565018

upgpkg: avr-gdb 9.1-1

Modified:
  avr-gdb/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-08 21:33:30 UTC (rev 565017)
+++ PKGBUILD	2020-02-08 21:33:50 UTC (rev 565018)
@@ -7,8 +7,8 @@
 
 _target=avr
 pkgname=$_target-gdb
-pkgver=8.3.1
-pkgrel=2
+pkgver=9.1
+pkgrel=1
 pkgdesc='The GNU Debugger for AVR'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'
@@ -16,7 +16,7 @@
 depends=(python guile2.0 xz gdb-common mpfr)
 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>
 
@@ -28,12 +28,13 @@
 build() {
   cd gdb-$pkgver
 
-  ./configure \
+  mkdir -p build && cd build
+  ../configure \
     --disable-nls \
     --enable-languages=c,c++ \
     --prefix=/usr \
     --target=$_target \
-    --with-python=/usr/bin/python3 \
+    --with-python=/usr/bin/python \
     --with-guile=guile-2.0 \
     --with-system-readline \
     --with-system-gdbinit=/etc/gdb/gdbinit
@@ -42,7 +43,7 @@
 }
 
 package() {
-  cd gdb-$pkgver
+  cd gdb-$pkgver/build
 
   make -C gdb DESTDIR=$pkgdir install
 



More information about the arch-commits mailing list