which: update to 2.23

This commit is contained in:
Samuel Tyler 2026-03-05 22:55:52 +11:00
parent 984b832224
commit 3628391569
No known key found for this signature in database
GPG key ID: EB5091A5C77E8DC4
5 changed files with 14 additions and 8 deletions

27
steps/which-2.23/pass1.sh Executable file
View file

@ -0,0 +1,27 @@
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
default
mv cwm4* cwm4
}
src_prepare() {
default
rmdir cwm4
ln -s ../cwm4 cwm4
touch ChangeLog which.1 which.info m4/submodules.m4 version.texi
./autogen.sh
sed -i 's/@CW_SUBDIRS@//' Makefile.in
}
src_configure() {
./configure --prefix="${PREFIX}"
}
src_install() {
default
rm "${DESTDIR}/${PREFIX}/share/man/man1/which.1"
}