update to 12.3: readline
This commit is contained in:
@@ -6,7 +6,7 @@ pkgdesc='GNU readline library'
|
|||||||
homepage='https://tiswww.case.edu/php/chet/readline/rltop.html'
|
homepage='https://tiswww.case.edu/php/chet/readline/rltop.html'
|
||||||
license=('GPL-3.0-only')
|
license=('GPL-3.0-only')
|
||||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||||
urls=("https://ftp.gnu.org/gnu/readline/readline-${pkgver}.tar.gz")
|
urls=("https://ftp.gnu.org/gnu/readline/${sources[0]}")
|
||||||
md5sums=("05080bf3801e6874bb115cd6700b708f")
|
md5sums=("05080bf3801e6874bb115cd6700b708f")
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
@@ -20,11 +20,11 @@ src_build() {
|
|||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-curses \
|
--with-curses \
|
||||||
--docdir=/usr/share/doc/readline-8.2.13
|
--docdir=/usr/share/doc/${pkgname}-${pkgver}
|
||||||
make SHLIB_LIBS="-lncursesw"
|
make SHLIB_LIBS="-lncursesw"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
make SHLIB_LIBS="-lncursesw" DESTDIR="$pkgdir" install
|
make SHLIB_LIBS="-lncursesw" DESTDIR="$pkgdir" install
|
||||||
install -v -m644 doc/*.{ps,pdf,html,dvi} ${pkgdir}/usr/share/doc/readline-8.2.13
|
install -v -m644 doc/*.{ps,pdf,html,dvi} ${pkgdir}/usr/share/doc/${pkgname}-${pkgver}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user