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

View file

@ -1,22 +0,0 @@
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
urls="https://carlowood.github.io/which/which-2.21.tar.gz"
src_prepare() {
rm configure Makefile.in aclocal.m4 which.1
touch ChangeLog which.1
sed -i '/@ACLOCAL_CWFLAGS@/d' Makefile.am
autoreconf-2.69 -fi
}
src_configure() {
./configure --prefix="${PREFIX}"
}
src_install() {
default
rm "${DESTDIR}/${PREFIX}/share/man/man1/which.1"
}