From 5cb8f79cfd375b9bba244062fab6bd87ab758039 Mon Sep 17 00:00:00 2001 From: Roger Freitas Pereira Date: Sat, 21 Dec 2024 20:53:34 -0300 Subject: [PATCH] Dwarf-Therapist: update to 42.1.13, adopt. --- srcpkgs/Dwarf-Therapist/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/Dwarf-Therapist/template b/srcpkgs/Dwarf-Therapist/template index fd3eb5925f0..5fc250afc14 100644 --- a/srcpkgs/Dwarf-Therapist/template +++ b/srcpkgs/Dwarf-Therapist/template @@ -1,16 +1,21 @@ # Template file for 'Dwarf-Therapist' pkgname=Dwarf-Therapist -version=41.2.1 +version=42.1.13 revision=1 build_style=cmake makedepends="qt5-declarative-devel libcap-devel hicolor-icon-theme" depends="dwarffortress" short_desc="Management tool designed to run side-by-side with Dwarf Fortress" -maintainer="Robert Stancil " +maintainer="Rutpiv " license="GPL-3.0-or-later" homepage="https://github.com/Dwarf-Therapist/Dwarf-Therapist/" distfiles="https://github.com/Dwarf-Therapist/Dwarf-Therapist/archive/v${version}.tar.gz" -checksum=ec954daff6e03d9d44153ed3df90685de3a7a07431fd47639d83b2f5b3f62e4b +checksum=513c0443d2641f185d76edb8cdf79214fded1efa407137290b8c096ed410672a + +post_build() { + vsed -i dist/xdg/applications/dwarftherapist.desktop \ + -e 's|^Exec=dwarftherapist$|Exec=ptrace_cap_wrapper dwarftherapist|' +} post_install() { vbin dist/ptrace_scope/patch_df_ptracer