[arch-commits] Commit in riscv64-linux-gnu-gdb/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Sat Feb 8 21:25:29 UTC 2020


    Date: Saturday, February 8, 2020 @ 21:25:28
  Author: anatolik
Revision: 565014

upgpkg: riscv64-linux-gnu-gdb 9.1-1

Modified:
  riscv64-linux-gnu-gdb/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-08 21:22:20 UTC (rev 565013)
+++ PKGBUILD	2020-02-08 21:25:28 UTC (rev 565014)
@@ -2,8 +2,8 @@
 
 _target=riscv64-linux-gnu
 pkgname=$_target-gdb
-pkgver=8.3.1
-pkgrel=2
+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/'
@@ -12,7 +12,7 @@
 options=(!emptydirs)
 source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
-sha256sums=('1e55b4d7cdca7b34be12f4ceae651623aa73b2fd640152313f9f66a7149757c4'
+sha256sums=('699e0ec832fdd2f21c8266171ea5bf44024bd05164fdf064e4d10cc4cf0d1737'
             'SKIP')
 
 prepare() {
@@ -23,7 +23,8 @@
 build() {
   cd gdb-$pkgver
 
-  ./configure \
+  mkdir -p build && cd build
+  ../configure \
     --target=$_target \
     --prefix=/usr \
     --enable-languages=c,c++ \
@@ -39,7 +40,7 @@
 }
 
 package() {
-  cd gdb-$pkgver
+  cd gdb-$pkgver/build
 
   make -C gdb DESTDIR=$pkgdir install
 



More information about the arch-commits mailing list