blob: 42754b3b6984fca206727d63c594503eb5a62527 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
#!/bin/mkpkg
# description: An sh-compatible command language interpreter
# url: https://tiswww.case.edu/php/chet/bash/bashtop.html
name=bash
version=5.3.p20
_version=5.3
release=1
depends=(readline ncurses)
source=(https://ftp.gnu.org/gnu/$name/$name-$_version.tar.gz
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-001
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-002
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-003
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-004
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-005
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-006
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-007
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-008
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-009
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-010
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-011
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-012
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-013
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-014
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-015
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-016
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-017
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-018
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-019
https://ftp.gnu.org/gnu/$name/$name-$_version-patches/bash53-020)
patch() {
cd $name-$_version
for p in $SRC/bash53-*; do
patch -Np0 -i $p
done
}
sha256sums=(
"0d5cd86965f869a26cf64f4b71be7b96f90a3ba8b3d74e27e8e9d9d5550f31ba"
"1f608434364af86b9b45c8b0ea3fb3b165fb830d27697e6cdfc7ac17dee3287f"
"e385548a00130765ec7938a56fbdca52447ab41fabc95a25f19ade527e282001"
"f245d9c7dc3f5a20d84b53d249334747940936f09dc97e1dcb89fc3ab37d60ed"
"9591d245045529f32f0812f94180b9d9ce9023f5a765c039b852e5dfc99747d0"
"cca1ef52dbbf433bc98e33269b64b2c814028efe2538be1e2c9a377da90bc99d"
"29119addefed8eff91ae37fd51822c31780ee30d4a28376e96002706c995ff10"
"c0976bbfffa1453c7cfdd62058f206a318568ff2d690f5d4fa048793fa3eb299"
"097cd723cbfb8907674ac32214063a3fd85282657ec5b4e544d2c0f719653fb4"
"eee30fe78a4b0cb2fe20e010e00308899cfc613e0774ebb3c8557a1552f24f8c"
"cf76f1cce2ea300c18bff9f002d21f280cc931acd17c28518110b93fe6e72569"
"0298df8f5ea2a31d3be43ed7d269c5b3c7c342dd5b570bea7f64d66dcbbe7531"
"d71379b39bebaedaf123414414e77fb458a0a43b9ad3116594c6df7ca6754573"
"042f9cda967e24bf4211944697441e93d06ff42b4b998629a98a1b249279f200"
"bd4360b401d38507e358783dcad8536a99c6789f0d3a5bd0cfb8c4a34144696c"
"55b79ceee2fc27f6767eed697e939a7eb2fe2a28c01556bd75f18d581014f46e"
"9ea29b266b7d24cb34d0ff3f1c4631e4d527bfe2d1ef15d17cdb924bf31ef767"
"443b927b45c1558ca72052410f8b8f6e5152b617ed707061a2781d4375b0d1c3"
"ae715d76c50341d7d7095e9a8d2eeed1ca9546152c2ac7289206f90cf30ac697"
"a25c581e4d0057dea3833918438a930e2e86ee4c6dc17fe15267b7f04cbc4e3d"
"df217ed3a9122aa2286d9b67bbe348661b6a9db262b580c29150dae55d532896"
)
build() {
cd $name-$_version
./configure \
--prefix=/ \
--mandir=/usr/share/man \
--disable-nls \
--without-bash-malloc \
--disable-profiling \
--disable-debugger \
--with-curses \
--with-installed-readline
make -j1
make DESTDIR=$PKG install
rm -rf $PKG/include
rm -rf $PKG/share
rm -f $PKG/bin/bashbug
rm -f $PKG/lib/bash/Makefile.inc
rm -f $PKG/lib/bash/Makefile.sample
rm -f $PKG/lib/bash/loadables.h
rm -f $PKG/lib/pkgconfig/bash.pc
rm -f $PKG/usr/share/man/man1/bashbug.1.gz
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|