void-packages/srcpkgs/chroot-bash/template

24 lines
725 B
Plaintext

# Template build file for 'chroot-bash'.
pkgname=chroot-bash
version=4.3
revision=2
wrksrc="bash-${version}"
build_style=gnu-configure
configure_args="--without-bash-malloc --without-curses --without-installed-readline --disable-nls"
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=afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4
broken_as_needed=yes
bootstrap=yes
provides="bash-${version}_${revision}"
conflicts="bash>=0"
post_install() {
ln -s /bin/bash ${DESTDIR}/usr/bin/sh
rm -rf ${DESTDIR}/usr/share
}