Pkgfile (742B)
1 # Description: An sh-compatible command language interpreter 2 # URL: https://tiswww.case.edu/php/chet/bash/bashtop.html 3 # Maintainer: Emmett1, emmett1 dot 2miligrams at protonmail dot com 4 # Depends on: readline 5 6 name=bash 7 version=5.3 8 release=1 9 source=(https://ftpmirror.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz 10 $name-$version.patch.gz profile) 11 12 build() { 13 cd $name-${version:0:3} 14 15 gunzip -c $SRC/$name-$version.patch.gz | patch -p0 16 17 ./configure \ 18 --prefix=/usr \ 19 --exec-prefix= \ 20 --disable-nls \ 21 --with-curses \ 22 --with-installed-readline \ 23 --without-bash-malloc 24 make -j1 25 26 install -D -m 755 bash $PKG/bin/bash 27 install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1 28 install -D -m 644 $SRC/profile $PKG/etc/profile 29 }