From 7f7c8c933faf4972dcd6e6edd153219fe59ee459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 1 Jun 2020 11:37:36 +0200 Subject: [PATCH] package/archlinux: keep debug versions of all console tools. --- package/archlinux/PKGBUILD-release | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/archlinux/PKGBUILD-release b/package/archlinux/PKGBUILD-release index e86120aed..592a659aa 100644 --- a/package/archlinux/PKGBUILD-release +++ b/package/archlinux/PKGBUILD-release @@ -103,6 +103,13 @@ package() { cd "$_rootdir/build" DESTDIR="$pkgdir/" ninja install + # Prevent the release version from overwriting the debug binary + for i in al-info gl-info distancefieldconverter fontconverter imageconverter sceneconverter; do + mv $pkgdir/usr/bin/magnum-${i}{,d} + done + cd "$_rootdir/build-release" DESTDIR="$pkgdir/" ninja install/strip } + +# kate: hl bash