-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
31 lines (29 loc) · 1007 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Template file for 'xtools'
pkgname=xtools
version=0.66
revision=1
build_style=gnu-makefile
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="https://git.vuxu.org/xtools"
distfiles="https://git.vuxu.org/xtools/snapshot/xtools-${version}.tar.gz"
checksum=9efc5cd252c58ebb2f0d2ff73b5ab0ed6338a5f3177e2fd438bfafc7c1042cb4
# 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 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
}
}