#!/bin/bash # bash # # Douglas Thrift # # $Id$ name=bash version=3.2.9 revision=0 categories=(base shells) description='GNU Bourne Again shell' url='http://www.gnu.org/software/bash/bash.html' depends=('base/readline') sources=(`site_gnu $name-${version%.*}.tar.gz $(for ((index = 1; index <= ${version##*.}; ++index)); do printf "$name-${version%.*}-patches/$name${version//@(.|.${version##*.})}-%0.3u " $index; done)`) sourcedir=$name-${version%.*} function build() { gnu_patch ${source_files[*]%%*.gz} || return $? gnu_configure --prefix=/usr --bindir=/bin --infodir=/usr/share/info --mandir=/usr/share/man --disable-rpath --enable-disabled-builtins --with-installed-readline --without-bash-malloc }