xtools: add xtools-minimal subpackage
This commit is contained in:
parent
e9fae96bb1
commit
cbfb70489c
|
@ -0,0 +1 @@
|
|||
xtools
|
|
@ -1,12 +1,31 @@
|
|||
# Template file for 'xtools'
|
||||
pkgname=xtools
|
||||
version=0.64
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
depends="bash curl findutils git make spdx-licenses-list xbps"
|
||||
depends="curl git make spdx-licenses-list xtools-minimal-${version}_${revision}"
|
||||
short_desc="Opinionated helpers for working with XBPS"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="Public Domain"
|
||||
homepage="http://git.vuxu.org/xtools"
|
||||
distfiles="http://git.vuxu.org/xtools/snapshot/xtools-${version}.tar.gz"
|
||||
checksum=a49140066744d4aaaf856fb40d92df26d6d3f80b2aa03da1746c513e7eab40be
|
||||
|
||||
# all xtools that can function without git installed
|
||||
# (git is by far the largest dependency)
|
||||
_minimal="xcheckrestart xchroot xclash xdbg xdiff xdistdir xdowngrade
|
||||
xetcchanges xgrep xhog xi xilog xmandoc xls xmksv xnodev xoptdiff xpkg xq xrs
|
||||
xuname xvoidstrap"
|
||||
|
||||
xtools-minimal_package() {
|
||||
short_desc+=" - minimal subset"
|
||||
depends="bash findutils xbps"
|
||||
pkg_install() {
|
||||
for tool in $_minimal; do
|
||||
vmove usr/bin/$tool
|
||||
vmove usr/share/man/man1/$tool.1
|
||||
done
|
||||
vmove usr/share/man/man1/xtools.1
|
||||
vmove usr/share/zsh
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue