chocolate-doom: fix completions scripts

Fix: #48228
This commit is contained in:
Đoàn Trần Công Danh 2024-01-17 08:25:03 +07:00
parent cd91cd7689
commit e7ba52ae76
1 changed files with 8 additions and 1 deletions

View File

@ -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 <knusbaum+void@sdf.org>"
@ -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
}