[arch-commits] Commit in gdb/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 12:13:19 UTC 2020
Date: Thursday, November 12, 2020 @ 12:13:19
Author: foutrelis
Revision: 400519
archrelease: copy trunk to staging-x86_64
Added:
gdb/repos/staging-x86_64/PKGBUILD
(from rev 400518, gdb/trunk/PKGBUILD)
Deleted:
gdb/repos/staging-x86_64/PKGBUILD
----------+
PKGBUILD | 144 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 72 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 12:13:15 UTC (rev 400518)
+++ PKGBUILD 2020-11-12 12:13:19 UTC (rev 400519)
@@ -1,72 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=gdb
-# gdb-common is a package that contains files common for all cross compiled versions
-# of gdb (for arm/avr/...)
-pkgname=(gdb gdb-common)
-pkgver=10.1
-pkgrel=3
-pkgdesc='The GNU Debugger'
-arch=(x86_64)
-url='https://www.gnu.org/software/gdb/'
-license=(GPL3)
-makedepends=(glibc gcc-libs texinfo python guile ncurses expat xz mpfr source-highlight
- readline)
-source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('c625efd87116525fb3bbeca7eaa1028ee62c0e7d'
- 'SKIP')
-b2sums=('69d79cd667ecb6e936b41a03817ade5dd9b761f97bc123d668b5f968d123c37d048fc8ec1289151e989f01bb01a43cc3d8b5b54f1807f1e3eb5f43e6bf0aa55b'
- 'SKIP')
-validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
-
-prepare() {
- cd gdb-$pkgver
-
- # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
- sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-}
-
-build() {
- cd gdb-$pkgver
-
- mkdir -p build && cd build
- ../configure \
- --prefix=/usr \
- --disable-nls \
- --enable-source-highlight \
- --enable-tui \
- --with-system-readline \
- --with-python=/usr/bin/python \
- --with-guile=guile-2.2 \
- --with-system-gdbinit=/etc/gdb/gdbinit
- make
-}
-
-package_gdb-common() {
- depends=(python guile)
-
- cd gdb-$pkgver/build
- make -C gdb/data-directory DESTDIR="$pkgdir" install
-}
-
-package_gdb() {
- depends=(glibc ncurses libncursesw.so gcc-libs expat xz mpfr source-highlight gdb-common=$pkgver
- readline libreadline.so guile python libelf)
- backup=(etc/gdb/gdbinit)
-
- cd gdb-$pkgver/build
- make -C gdb DESTDIR="$pkgdir" install
- make -C gdbserver DESTDIR="$pkgdir" install
-
- # install "custom" system gdbinit
- install -dm 755 "$pkgdir/etc/gdb"
- touch "$pkgdir/etc/gdb/gdbinit"
-
- # comes from gdb-common
- rm -r "$pkgdir/usr/share/gdb/"
-}
-
-# vim: ts=2 sw=2 et:
Copied: gdb/repos/staging-x86_64/PKGBUILD (from rev 400518, gdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 12:13:19 UTC (rev 400519)
@@ -0,0 +1,72 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=gdb
+# gdb-common is a package that contains files common for all cross compiled versions
+# of gdb (for arm/avr/...)
+pkgname=(gdb gdb-common)
+pkgver=10.1
+pkgrel=4
+pkgdesc='The GNU Debugger'
+arch=(x86_64)
+url='https://www.gnu.org/software/gdb/'
+license=(GPL3)
+makedepends=(glibc gcc-libs texinfo python guile ncurses expat xz mpfr source-highlight
+ readline)
+source=(https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha1sums=('c625efd87116525fb3bbeca7eaa1028ee62c0e7d'
+ 'SKIP')
+b2sums=('69d79cd667ecb6e936b41a03817ade5dd9b761f97bc123d668b5f968d123c37d048fc8ec1289151e989f01bb01a43cc3d8b5b54f1807f1e3eb5f43e6bf0aa55b'
+ 'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+
+prepare() {
+ cd gdb-$pkgver
+
+ # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+ sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+ cd gdb-$pkgver
+
+ mkdir -p build && cd build
+ ../configure \
+ --prefix=/usr \
+ --disable-nls \
+ --enable-source-highlight \
+ --enable-tui \
+ --with-system-readline \
+ --with-python=/usr/bin/python \
+ --with-guile=guile-2.2 \
+ --with-system-gdbinit=/etc/gdb/gdbinit
+ make
+}
+
+package_gdb-common() {
+ depends=(python guile)
+
+ cd gdb-$pkgver/build
+ make -C gdb/data-directory DESTDIR="$pkgdir" install
+}
+
+package_gdb() {
+ depends=(glibc ncurses libncursesw.so gcc-libs expat xz mpfr source-highlight gdb-common=$pkgver
+ readline libreadline.so guile python libelf)
+ backup=(etc/gdb/gdbinit)
+
+ cd gdb-$pkgver/build
+ make -C gdb DESTDIR="$pkgdir" install
+ make -C gdbserver DESTDIR="$pkgdir" install
+
+ # install "custom" system gdbinit
+ install -dm 755 "$pkgdir/etc/gdb"
+ touch "$pkgdir/etc/gdb/gdbinit"
+
+ # comes from gdb-common
+ rm -r "$pkgdir/usr/share/gdb/"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list