blob: 9f3b9ee8bafc465dcf1ef88f47568b0e492de9f0 (
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
|
#!/bin/mkpkg
# description: Lets users edit command lines as they are typed in
# url: https://tiswww.cwru.edu/php/chet/readline/rltop.html
name=readline
version=8.3.p6
release=1
_version=8.3
_short_ver=83
depends=(ncurses)
lockbox=(yes)
source=(http://ftp.gnu.org/gnu/$name/$name-$_version.tar.gz
http://ftp.gnu.org/gnu/$name/$name-$_version-patches/$name$_short_ver-001
http://ftp.gnu.org/gnu/$name/$name-$_version-patches/$name$_short_ver-002
http://ftp.gnu.org/gnu/$name/$name-$_version-patches/$name$_short_ver-003
http://ftp.gnu.org/gnu/$name/$name-$_version-patches/$name$_short_ver-004
http://ftp.gnu.org/gnu/$name/$name-$_version-patches/$name$_short_ver-005
http://ftp.gnu.org/gnu/$name/$name-$_version-patches/$name$_short_ver-006
inputrc
display-null-prompt.patch)
patch() {
cd $name-$_version
for p in "$SRC"/*.patch; do
[ -f "$p" ] && patch -p0 -i "$p"
done
}
sha256sums=(
"fe5383204467828cd495ee8d1d3c037a7eba1389c22bc6a041f627976f9061cc"
"21f0a03106dbe697337cd25c70eb0edbaa2bdb6d595b45f83285cdd35bac84de"
"e27364396ba9f6debf7cbaaf1a669e2b2854241ae07f7eca74ca8a8ba0c97472"
"72dee13601ce38f6746eb15239999a7c56f8e1ff5eb1ec8153a1f213e4acdb29"
"1f189c4566aa35950964647b9ec3be1a821e42b86048129c63eb7f9d4d2f5a74"
"5481adbe161c9f6ba972c74db9e18c7aa351d3df3035cc4a673a1aa06247d1c6"
"4ebd261a608287796e171af0ea9af5a1e3122e46672accda2484b6698c47c1a4"
"9119a95d4b1407e3c4ad2b6fb92e840353e65ae9d7ec77fed75cab293cb81bcb"
"188b99582f9d31e9c18dd3e4a903ac5fb4c8e265207cfc21fc27f32ed4ee6a78"
)
build() {
cd $name-$_version
./configure \
--prefix=/ \
--libdir=/lib \
--includedir=/include \
--mandir=/usr/share/man
make -j1 SHLIB_LIBS=-lncursesw
make -j1 DESTDIR=$PKG install
install -D -m644 $SRC/inputrc $PKG/etc/inputrc
rm -rf $PKG/share
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|