summaryrefslogtreecommitdiff
path: root/core/readline/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'core/readline/MAKEPKG')
-rw-r--r--core/readline/MAKEPKG62
1 files changed, 62 insertions, 0 deletions
diff --git a/core/readline/MAKEPKG b/core/readline/MAKEPKG
new file mode 100644
index 0000000..9f3b9ee
--- /dev/null
+++ b/core/readline/MAKEPKG
@@ -0,0 +1,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