From 387e5044d2d48fc3af7174e35623df9ffed0ba30 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 13 Feb 2018 17:26:12 +0000
Subject: readline: update to 7.0.003

---
 abs/core/readline/PKGBUILD         | 36 +++++++++++++-----------------------
 abs/core/readline/readline.install | 17 -----------------
 2 files changed, 13 insertions(+), 40 deletions(-)
 delete mode 100644 abs/core/readline/readline.install

diff --git a/abs/core/readline/PKGBUILD b/abs/core/readline/PKGBUILD
index 07b6b36..6934ca0 100644
--- a/abs/core/readline/PKGBUILD
+++ b/abs/core/readline/PKGBUILD
@@ -4,25 +4,25 @@
 # Contributor: judd <jvinet@zeroflux.org>
 
 pkgname=readline
-_basever=6.3
-_patchlevel=008
-pkgver=$_basever.$_patchlevel
-pkgrel=3
+_basever=7.0
+_patchlevel=003
+pkgver=${_basever}.${_patchlevel}
+pkgrel=1
 pkgdesc='GNU readline library'
-arch=('i686' 'x86_64')
+arch=('x86_64')
 url='http://tiswww.case.edu/php/chet/readline/rltop.html'
 license=('GPL')
-depends=('glibc' 'ncurses' 'libncursesw.so')
 backup=('etc/inputrc')
+depends=('glibc' 'ncurses' 'libncursesw.so')
+provides=('libhistory.so' 'libreadline.so')
 options=('!emptydirs')
-install=readline.install
-source=(http://ftp.gnu.org/gnu/readline/readline-$_basever.tar.gz{,.sig}
+source=(https://ftp.gnu.org/gnu/readline/readline-$_basever.tar.gz{,.sig}
         inputrc)
 validpgpkeys=('7C0135FB088AAF6C66C650B9BB5869F064EA74AB') # Chet Ramey
 
 if [ $_patchlevel -gt 0 ]; then
     for (( _p=1; _p <= $((10#${_patchlevel})); _p++ )); do
-        source=(${source[@]} http://ftp.gnu.org/gnu/readline/readline-$_basever-patches/readline${_basever//.}-$(printf "%03d" $_p){,.sig})
+        source=(${source[@]} https://ftp.gnu.org/gnu/readline/readline-$_basever-patches/readline${_basever//.}-$(printf "%03d" $_p){,.sig})
     done
 fi
 
@@ -52,22 +52,12 @@ package() {
   install -Dm644 inputrc "$pkgdir"/etc/inputrc
 }
 
-md5sums=('33c8fb279e981274f485fd91da77e94a'
+md5sums=('205b03a87fc83dab653b628c59b9fc91'
          'SKIP'
          '58d54966c1191db45973cb3191ac621a'
-         '4343f5ea9b0f42447f102fb61576b398'
-         'SKIP'
-         '700295212f7e2978577feaee584afddb'
-         'SKIP'
-         'af4963862f5156fbf9111c2c6fa86ed7'
-         'SKIP'
-         '11f9def89803a5052db3ba72394ce14f'
-         'SKIP'
-         '93721c31cd225393f80cb3aadb165544'
-         'SKIP'
-         '71dc6ecce66d1489b96595f55d142a52'
+         'e299384458a4cbefaaac3f30e9cc2bba'
          'SKIP'
-         '062a08ed60679d3c4878710b3d595b65'
+         'f9071a353e2fd52a91d32667b23715d6'
          'SKIP'
-         'ee1c04072154826870848d8b218d7b04'
+         '03595464cf0283286a6e07f4f01c4a70'
          'SKIP')
diff --git a/abs/core/readline/readline.install b/abs/core/readline/readline.install
deleted file mode 100644
index 06b646f..0000000
--- a/abs/core/readline/readline.install
+++ /dev/null
@@ -1,17 +0,0 @@
-infodir=usr/share/info
-filelist=(history.info readline.info rluserman.info)
-
-post_upgrade() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-
-pre_remove() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-
-- 
cgit v0.12

