# Template build file for 'chroot-bash'.
pkgname=chroot-bash
version=4.2
revision=3
wrksrc="bash-${version}"
build_style=gnu-configure
configure_args="--without-bash-malloc --enable-static-link LDFLAGS="
short_desc="The GNU Bourne Again Shell -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/bash/bash.html"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/bash/bash-${version}.tar.gz"
checksum=a27a1179ec9c0830c65c6aa5d7dab60f7ce1a2a608618570f96bfa72e95ab3d8
long_desc="
 Bash is an sh-compatible shell that incorporates useful features from
 the Korn shell (ksh) and C shell (csh). It is intended to conform to
 the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.

 It offers functional improvements over sh for both programming and
 interactive use; these include command line editing, unlimited size
 command history, job control, shell functions and aliases, indexed
 arrays of unlimited size, and integer arithmetic in any base from two
 to sixty-four. In addition, most sh scripts can be run by Bash without
 modification.

 This package is only meant to be used by xbps-src, don't install it
 manually."

broken_as_needed=yes
bootstrap=yes
provides="bash-${version}"
conflicts="bash>=0"

post_install() {
	rm -rf ${DESTDIR}/usr/share
}
