index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-05-13 16:59:02 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-05-13 16:59:02 +0200 |
commit | 2895b95eef1e32561286dc5c1ab65e92e9838721 (patch) | |
tree | 89c26c976132b942a8c947b47e9911105f9deff4 /core/binutils | |
parent | 89a593b8f2c0cfd7ad5ac46db45c5d3af8a2db5d (diff) |
-rw-r--r-- | core/binutils/PKGBUILD | 15 |
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD index c275c111..8ad3750e 100644 --- a/core/binutils/PKGBUILD +++ b/core/binutils/PKGBUILD @@ -83,3 +83,18 @@ eval "$( s/ check/ check || true/ ' )" + +# we get a clash with files from gdb, delete them (they should not be there?) +eval "$( + declare -f package | \ + sed ' + /make.*install.*/ a \ + rm -rf "$pkgdir"/usr/bin/{gcore,gdb,gdb-add-index,gdbserver} \ + rm -rf "$pkgdir"/usr/include/gdb \ + rm -rf "$pkgdir"/usr/lib/libinproctrace.so \ + rm -rf "$pkgdir"/usr/share/gdb/{guile,syscalls,system-gdbinit} \ + rm -rf "$pkgdir"/usr/share/info/{annotate,gdb,stabs}.info.gz \ + rm -rf "$pkgdir"/usr/share/man/man1/{gcore,gdb-add-index,gdb,gdbserver}.1.gz \ + rm -rf "$pkgdir"/usr/share/man/man5/gdbinit.5.gz + ' +)" |