From e7ba52ae769021c32b241afd65d54c2dbf87655a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 17 Jan 2024 08:25:03 +0700 Subject: [PATCH] chocolate-doom: fix completions scripts Fix: #48228 --- srcpkgs/chocolate-doom/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template index a1155443d5c..045dfd9ef98 100644 --- a/srcpkgs/chocolate-doom/template +++ b/srcpkgs/chocolate-doom/template @@ -3,7 +3,7 @@ pkgname=chocolate-doom version=3.0.1 revision=1 build_style=gnu-configure -hostmakedepends="autoconf automake pkg-config" +hostmakedepends="autoconf automake pkg-config python3" makedepends="SDL2-devel SDL2_mixer-devel SDL2_net-devel libsamplerate-devel libpng-devel" short_desc="Doom source port that is minimalist and historically accurate" maintainer="Kyle Nusbaum " @@ -17,3 +17,10 @@ CFLAGS="-fcommon" pre_configure() { autoreconf -fi } + +post_build() { + cd man/bash-completion + for f in *.template; do + cp "$f" "chocolate-${f%.template}" + done +}