2 # Maintainer: Martin Špelina < shpelda at gmail dot com >
6 _patchlevel=020 #prepare for some patches
7 pkgver=$_basever.$_patchlevel.1027bb
9 pkgdesc="The GNU Bourne Again shell with whispering patch"
10 arch=('i686' 'x86_64')
12 url="http://code.google.com/p/bash-whispering"
14 depends=('bash' 'glibc')
16 source=(http://ftp.gnu.org/gnu/bash/bash-$_basever.tar.gz{,.sig}
17 0001-First-usable-whispering-version.patch)
18 if [ $_patchlevel -gt 000 ]; then
19 for (( p=1; p<=$((10#${_patchlevel})); p++ )); do
20 source=(${source[@]} http://ftp.gnu.org/gnu/bash/bash-$_basever-patches/bash${_basever//./}-$(printf "%03d" $p){,.sig})
25 cd ${srcdir}/bash-$_basever
26 for (( p=1; p<=$((10#${_patchlevel})); p++ )); do
27 msg "applying patch bash${_basever//./}-$(printf "%03d" $p)"
28 patch -Np0 -i $srcdir/bash${_basever//./}-$(printf "%03d" $p)
31 patch -p2 -i $srcdir/0001-First-usable-whispering-version.patch
33 _bashconfig=(-DDEFAULT_PATH_VALUE=\'\"/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin\"\'
34 -DSTANDARD_UTILS_PATH=\'\"/usr/bin:/bin:/usr/sbin:/sbin\"\'
35 -DSYS_BASHRC=\'\"/etc/bash.bashrc\"\'
36 -DSYS_BASH_LOGOUT=\'\"/etc/bash.bash_logout\"\')
37 export CFLAGS="${CFLAGS} ${_bashconfig[@]}"
39 ./configure --prefix=/usr --bindir=/bin --mandir=/usr/share/man --infodir=/usr/share/info
41 # --with-curses --enable-readline \
42 # --without-bash-malloc \
43 # --with-installed-readline
47 cd ${srcdir}/bash-$_basever
52 cd ${srcdir}/bash-$_basever
53 make DESTDIR=${pkgdir} install
55 rm -rf $pkgdir/bin/bashbug
56 mv $pkgdir/bin/bash $pkgdir/bin/wash
59 md5sums=('3fb927c7c33022f1c327f14a81c0d4b0'
60 '8d37a3f97a48c1e56e1a4ded877ed944'
61 'dc710356464aa600d124ef74f8f739b1'
62 '1100bc1dda2cdc06ac44d7e5d17864a3'
63 'a7184b76eb4a079f10174a0a8f574819'
64 '30e7948079921d3261efcc6a40722135'
65 'c4d45307f7e69fe508ce347c4cec1955'
66 '9ea06decec43a198f3d7cf29acc602f8'
67 '74bddae6eeb9227a04a467d42597a34d'
68 'fb48f6134d7b013135929476aa0c250c'
69 '3e6a18226b16c773229246abd07a1f5e'
70 'e70e45de33426b38153b390be0dbbcd4'
71 'e667dc9348ebc3e0e14bfdd87f4b6ff2'
72 'ce4e5c484993705b27daa151eca242c2'
73 '41cbd8e57589bc081a546a014ddb12f8'
74 '88d1f96db29461767602e2546803bda7'
75 'b8b781520f4c7493a2a1ac3010a44a44'
76 '24c574bf6d6a581e300823d9c1276af6'
77 '354a0899a7c4b446454c52546562b55b'
78 '4c5835f2fbab36c4292bb334977e5b6d'
79 'ff4547ca7b508d52101729d61f5b77b6'
80 '0a51602b535ef661ee707be6c8bdb373'
81 'cec7c92a4d8052ea4b29216365d16566'
82 '58deacf3d57cbd75575444ff6a3b0806'
83 '9ed2a08e549c3c17745f19e8413cfb31'
84 '72d5059820015231483bb7415d09e9db'
85 '45b04b41a4230f469d3e47ab9952c2df'
86 '608336ebe215984ef126e3c29d2d3409'
87 '623f63025d155a84977b62531e260ee2'
88 'ed19da878e3f630834c62b9d9dcc6fce'
89 'eef2dd4a0e4505dc8f8e664b40c6cd66'
90 '2d07daba0b8ca8f876d2aa052ff594b4'
91 '0cb823a44e6dc1cde7ac97ae5c8163c9'
92 '53d246537e1fffd1aaa02ba5c056211c'
93 '60f983a1dded5f0b28040ff4b3f1e9b5'
94 '304fd129a58fee2d8a34f8b4704db0aa'
95 '9df4bf4f46aaadc436f430187741f815'
96 '6921a0b4228fe89b6537a5c29f027c89'
97 '4ef0e2a2cbfbdd53346f927000b7e112'
98 '1195d85447f3d048d2c9bcd075fa765c'
99 'b0f3a651ce29a1feee687d93177870f1'
100 'b09000bba08da6ac753124593850cdf7'
101 '204bb5054d1f8bafe2b446d4e5d0d99a')