[arch-commits] Commit in arm-none-eabi-gdb/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Mar 25 10:09:53 UTC 2018
Date: Sunday, March 25, 2018 @ 10:09:53
Author: bpiotrowski
Revision: 312542
archrelease: copy trunk to community-x86_64
Added:
arm-none-eabi-gdb/repos/community-x86_64/PKGBUILD
(from rev 312541, arm-none-eabi-gdb/trunk/PKGBUILD)
Deleted:
arm-none-eabi-gdb/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 109 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-25 10:09:48 UTC (rev 312541)
+++ PKGBUILD 2018-03-25 10:09:53 UTC (rev 312542)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-# Contributor: Martin Schmölzer <mschmoelzer at gmail.com>
-
-_target=arm-none-eabi
-pkgname=$_target-gdb
-pkgver=8.1
-pkgrel=1
-pkgdesc='The GNU Debugger for the ARM EABI (bare-metal) target'
-arch=(x86_64)
-url='http://www.gnu.org/software/gdb/'
-license=(GPL3)
-depends=(xz ncurses expat python guile2.0 gdb-common mpfr)
-optdepends=('openocd: for debugging JTAG targets'
- 'stlink: for debugging over STLINK')
-options=(!emptydirs)
-source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
-sha256sums=('af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34'
- '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
-
- ./configure \
- --target=$_target \
- --prefix=/usr \
- --enable-languages=c,c++ \
- --enable-multilib \
- --enable-interwork \
- --with-system-readline \
- --disable-nls \
- --with-python=/usr/bin/python3 \
- --with-guile=guile-2.0 \
- --with-system-gdbinit=/etc/gdb/gdbinit
-
- make
-}
-
-package() {
- cd gdb-$pkgver
-
- make DESTDIR="$pkgdir" install
-
- # Following files conflict with 'gdb' package
- rm -r "$pkgdir"/usr/share/info
- rm -r "$pkgdir"/usr/share/gdb
- rm -r "$pkgdir"/usr/include/gdb
- rm -r "$pkgdir"/usr/share/man/man5
-}
Copied: arm-none-eabi-gdb/repos/community-x86_64/PKGBUILD (from rev 312541, arm-none-eabi-gdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-25 10:09:53 UTC (rev 312542)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Martin Schmölzer <mschmoelzer at gmail.com>
+
+_target=arm-none-eabi
+pkgname=$_target-gdb
+pkgver=8.1
+pkgrel=2
+pkgdesc='The GNU Debugger for the ARM EABI (bare-metal) target'
+arch=(x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(xz ncurses expat python guile2.0 gdb-common mpfr)
+optdepends=('stlink: for debugging over STLINK')
+options=(!emptydirs)
+source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+sha256sums=('af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34'
+ '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
+
+ ./configure \
+ --target=$_target \
+ --prefix=/usr \
+ --enable-languages=c,c++ \
+ --enable-multilib \
+ --enable-interwork \
+ --with-system-readline \
+ --disable-nls \
+ --with-python=/usr/bin/python3 \
+ --with-guile=guile-2.0 \
+ --with-system-gdbinit=/etc/gdb/gdbinit
+
+ make
+}
+
+package() {
+ cd gdb-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ # Following files conflict with 'gdb' package
+ rm -r "$pkgdir"/usr/share/info
+ rm -r "$pkgdir"/usr/share/gdb
+ rm -r "$pkgdir"/usr/include/gdb
+ rm -r "$pkgdir"/usr/share/man/man5
+}
More information about the arch-commits
mailing list