xtools: update to 0.68.

This commit is contained in:
classabbyamp 2025-01-03 11:54:35 -05:00
parent 844506ea01
commit 9bbc831c5d
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5

View file

@ -1,6 +1,6 @@
# Template file for 'xtools' # Template file for 'xtools'
pkgname=xtools pkgname=xtools
version=0.67 version=0.68
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
depends="curl git make spdx-licenses-list xtools-minimal-${version}_${revision}" depends="curl git make spdx-licenses-list xtools-minimal-${version}_${revision}"
@ -9,23 +9,27 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain" license="Public Domain"
homepage="https://git.vuxu.org/xtools" homepage="https://git.vuxu.org/xtools"
distfiles="https://git.vuxu.org/xtools/snapshot/xtools-${version}.tar.gz" distfiles="https://git.vuxu.org/xtools/snapshot/xtools-${version}.tar.gz"
checksum=ece78408c51ecbae3ccd8ab9786e0626f5cc71f807d7b22e08eca0a054a03834 checksum=eac6509e6b3666ad7e8c3ad781606da1267ca1c871d4a56b4efb3c2a4d04656b
# all xtools that can function without git installed # all xtools that can function without git installed
# (git is by far the largest dependency) # (git is by far the largest dependency)
_minimal="xcheckrestart xchroot xclash xdbg xdiff xdistdir xdowngrade _minimal=(xcheckrestart xchroot xclash xdbg xdeptree xdiff xdistdir xdowngrade
xetcchanges xgrep xhog xi xilog xls xmksv xnodev xoptdiff xpkg xq xrs xetcchanges xgenfstab xgrep xhog xi xilog xls xmksv xnews xnodev xoptdiff xpkg
xtree xuname xvoidstrap" xq xrs xtree xuname xvoidstrap)
xtools-minimal_package() { xtools-minimal_package() {
short_desc+=" - minimal subset" short_desc+=" - minimal subset"
depends="bash findutils xbps" depends="bash findutils xbps"
pkg_install() { pkg_install() {
for tool in $_minimal; do for tool in "${_minimal[@]}"; do
vmove usr/bin/$tool vmove usr/bin/$tool
vmove usr/share/man/man1/$tool.1 vmove usr/share/man/man1/$tool.1
if [ -e "$DESTDIR/usr/share/fish/vendor_completions.d/$tool.fish" ]; then
vmove usr/share/fish/vendor_completions.d/$tool.fish
fi
done done
vmove usr/share/man/man1/xtools.1 vmove usr/share/man/man1/xtools.1
vmove usr/share/zsh vmove usr/share/zsh
vmove usr/share/fish/vendor_functions.d
} }
} }