26 lines
981 B
Bash
26 lines
981 B
Bash
# Template file for 'chroot-bash'
|
|
pkgname=chroot-bash
|
|
version=5.2.21
|
|
revision=1
|
|
build_style=gnu-configure
|
|
# need 'bash_cv_termcap_lib=gnutermcap' in order to force bash to use the
|
|
# bundled termcap library when bootstrapping from source on a foreign system
|
|
configure_args="--without-bash-malloc --without-curses
|
|
--without-installed-readline --disable-nls bash_cv_termcap_lib=gnutermcap"
|
|
short_desc="GNU Bourne Again Shell -- for xbps-src use"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.gnu.org/software/bash/bash.html"
|
|
distfiles="${GNU_SITE}/bash/bash-${version}.tar.gz"
|
|
checksum=c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8
|
|
repository=bootstrap
|
|
|
|
bootstrap=yes
|
|
provides="bash-${version}_${revision}"
|
|
conflicts="bash>=0 dash>=0 busybox>=0 loksh>=0 mksh>=0 oksh>=0 yash>=0"
|
|
|
|
post_install() {
|
|
ln -s bash ${DESTDIR}/usr/bin/sh
|
|
rm -rf ${DESTDIR}/usr/{lib,share,include} ${DESTDIR}/usr/lib/pkgconfig/bash.pc
|
|
}
|