void-packages/srcpkgs/base-chroot/template
Đoàn Trần Công Danh fb4838a591 base-chroot: add tzdata
Some packages require tzdata to testing, however, adding `tzdata` to
those checkdepends will break masterdir, since `tzdata` provides
`/usr/share/zoneinfo/UTC`, hence, it will be removed upon cleanup.

Let's add `tzdata` into `base-chroot` and remove the shenanigan in
`chroot.sh`.
2021-06-17 07:33:49 +07:00

26 lines
682 B
Bash

# Template file for 'base-chroot'
pkgname=base-chroot
version=0.66
revision=3
bootstrap=yes
build_style=meta
short_desc="Minimal set of packages required for chroot with xbps-src"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public Domain"
homepage="http://www.voidlinux.org"
case "$XBPS_TARGET_LIBC" in
musl) depends="musl-devel";;
*) depends="glibc-devel glibc-locales";;
esac
depends+="
base-files binutils gcc gcc-ada libada-devel
patch sed findutils diffutils make gzip coreutils
file bsdtar xbps mpfr ncurses libreadline8
chroot-bash chroot-grep chroot-gawk chroot-distcc
chroot-util-linux chroot-git tzdata"
if [ "$CHROOT_READY" ]; then
depends+=" ccache"
fi