[arch-commits] Commit in or1k-elf-gdb/repos/community-x86_64 (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sat Mar 28 14:53:56 UTC 2020
Date: Saturday, March 28, 2020 @ 14:53:56
Author: ffy00
Revision: 605166
archrelease: copy trunk to community-x86_64
Added:
or1k-elf-gdb/repos/community-x86_64/PKGBUILD
(from rev 605165, or1k-elf-gdb/trunk/PKGBUILD)
Deleted:
or1k-elf-gdb/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-28 14:53:43 UTC (rev 605165)
+++ PKGBUILD 2020-03-28 14:53:56 UTC (rev 605166)
@@ -1,55 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
-# Contributor: Martin Schmölzer <mschmoelzer at gmail.com>
-
-_target=or1k-elf
-pkgname=$_target-gdb
-pkgver=9.1
-pkgrel=1
-pkgdesc='The GNU Debugger for the OpenRISC 100 (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=('84cdd408d80a3fc5779de459c5b26154d31b329ebde7e3aa78799fb1eb245d8b64b8c8ee7242382a1dbd95b4e6f9d84fef41d12a0646aa75d3dee4709ea1f6e7'
- 'SKIP')
-validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <brobecker at 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: or1k-elf-gdb/repos/community-x86_64/PKGBUILD (from rev 605165, or1k-elf-gdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-28 14:53:56 UTC (rev 605166)
@@ -0,0 +1,55 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Martin Schmölzer <mschmoelzer at gmail.com>
+
+_target=or1k-elf
+pkgname=$_target-gdb
+pkgver=9.1
+pkgrel=1
+pkgdesc='The GNU Debugger for the OpenRISC 100 (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=('84cdd408d80a3fc5779de459c5b26154d31b329ebde7e3aa78799fb1eb245d8b64b8c8ee7242382a1dbd95b4e6f9d84fef41d12a0646aa75d3dee4709ea1f6e7'
+ 'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <brobecker at 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/
+}
+
More information about the arch-commits
mailing list