aboutsummaryrefslogtreecommitdiff
path: root/bash/abuild
blob: dcc58705aa10609ad16ee4a2f262da9a30b1a892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name=bash
version=5.3p15
release=1
source="https://ftpmirror.gnu.org/gnu/${name}/${name}-${version%p*}.tar.gz
	$(b=${version%p*}; p=${version#*p}; i=1; while [ $i -le $p ]; do
		printf "https://ftpmirror.gnu.org/gnu/%s/%s-%s-patches/%s%s-%03d\n" \
			"$name" "$name" "$b" "$name" "${b/./}" "$i"
		i=$((i+1))
	done)
	bashrc"
build_opt="--without-bash-malloc --with-installed-readline"
patch_opt="-Np0"

postbuild() {
	mkdir -p $PKG/bin
	mv $PKG/usr/bin/bash $PKG/bin
	
	install -d $PKG/etc
	install -m644 $SRC/bashrc $PKG/etc
}