Date: Saturday, February 8, 2020 @ 21:34:26
  Author: anatolik
Revision: 565021

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

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-02-08 21:34:23 UTC (rev 565020)
+++ PKGBUILD    2020-02-08 21:34:26 UTC (rev 565021)
@@ -2,8 +2,8 @@
 
 _target=aarch64-linux-gnu
 pkgname=$_target-gdb
-pkgver=8.3.1
-pkgrel=2
+pkgver=9.1
+pkgrel=1
 pkgdesc='The GNU Debugger for the ARM64 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
 

Reply via email to