void-packages/srcpkgs/chroot-bash/template

26 lines
981 B
Bash

# Template file for 'chroot-bash'
pkgname=chroot-bash
version=5.2.32
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=d3ef80d2b67d8cbbe4d3265c63a72c46f9b278ead6e0e06d61801b58f23f50b5
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
}