summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2023-03-27 16:36:38 +0200
committerhaawda2023-03-27 16:36:38 +0200
commit04a06448f83ac111b7a8113b00df52c8807f2d69 (patch)
tree96b8f54bcd930a27e1f91f627d37dadc1c554671
parent4d745485a9f7bf4583d7c8ce15c99f18e5f4e2f8 (diff)
downloadaur-04a06448f83ac111b7a8113b00df52c8807f2d69.tar.gz
remove files from gdb-git which already are in gdb-common-git
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e20914f37c5f..2b75aabe4b17 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gdb-git
pkgdesc = The GNU Debugger from git
- pkgver = 114029.bc8b216886e
+ pkgver = 114034.eb42b9d6f91
pkgrel = 1
url = http://www.gnu.org/software/gdb/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 4201275f3b0f..81b323a4542f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=('gdb-git' 'gdb-common-git')
-pkgver=114029.bc8b216886e
+pkgver=114034.eb42b9d6f91
pkgrel=1
pkgdesc="The GNU Debugger from git"
arch=('i686' 'x86_64')
@@ -40,7 +40,8 @@ build() {
}
package_gdb-git() {
- depends=('expat' 'guile' 'ncurses' 'xz' 'python' 'source-highlight' 'mpfr' 'xxhash' 'libelf' 'gdb-common-git')
+ depends=('expat' 'guile' 'ncurses' 'xz' 'python' 'source-highlight'
+ 'mpfr' 'xxhash' 'libelf' 'gdb-common-git')
provides=('gdb')
conflicts=('gdb')
backup=(etc/gdb/gdbinit)
@@ -52,7 +53,10 @@ package_gdb-git() {
# install "custom" system gdbinit
install -dm755 "$pkgdir"/etc/gdb
touch "$pkgdir"/etc/gdb/gdbinit
- }
+
+ # comes from gdb-common
+ rm -r "$pkgdir/usr/share/gdb/"
+}
package_gdb-common-git() {
provides=('gdb-common')