Date: Wednesday, October 28, 2020 @ 23:09:09 Author: ffy00 Revision: 736419
archrelease: copy trunk to community-x86_64 Added: riscv64-elf-gdb/repos/community-x86_64/PKGBUILD (from rev 736418, riscv64-elf-gdb/trunk/PKGBUILD) Deleted: riscv64-elf-gdb/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 110 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-28 23:09:06 UTC (rev 736418) +++ PKGBUILD 2020-10-28 23:09:09 UTC (rev 736419) @@ -1,55 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> -# Contributor: Anatol Pomozov <anatol.pomo...@gmail.com> -# Contributor: Martin Schmölzer <mschmoel...@gmail.com> - -_target=riscv64-elf -pkgname=$_target-gdb -pkgver=9.2 -pkgrel=1 -pkgdesc='The GNU Debugger for the RISCV64 (bare-metal) target' -arch=(x86_64) -url='https://www.gnu.org/software/gdb/' -license=(GPL3) -depends=(xz ncurses expat python guile2.0 gdb-common mpfr) -options=(!emptydirs) -source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig}) -sha512sums=('73635f00f343117aa5e2436f1e1597099e2bfb31ef7bb162b273fa1ea282c3fa9b0f52762e70bfc7ad0334addb8d159e9ac7cbe5998ca4f755ea8cf90714d274' - 'SKIP') -validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <brobec...@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.0 \ - --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: riscv64-elf-gdb/repos/community-x86_64/PKGBUILD (from rev 736418, riscv64-elf-gdb/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-28 23:09:09 UTC (rev 736419) @@ -0,0 +1,55 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> +# Contributor: Anatol Pomozov <anatol.pomo...@gmail.com> +# Contributor: Martin Schmölzer <mschmoel...@gmail.com> + +_target=riscv64-elf +pkgname=$_target-gdb +pkgver=10.1 +pkgrel=1 +pkgdesc='The GNU Debugger for the RISCV64 (bare-metal) target' +arch=(x86_64) +url='https://www.gnu.org/software/gdb/' +license=(GPL3) +depends=(xz ncurses expat python guile2.0 gdb-common mpfr) +options=(!emptydirs) +source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig}) +sha512sums=('0dc54380435c6853db60f1e388b94836d294dfa9ad7f518385a27db4edd03cb970f8717d5f1e9c9a0d4a33d7fcf91bc2e5d6c9cf9e4b561dcc74e65b806c1537' + 'SKIP') +validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <brobec...@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.0 \ + --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/ +} +