update to 12.3: expect

This commit is contained in:
2025-03-19 00:36:36 -04:00
parent 73be67decd
commit 7c39577a0f

View File

@@ -3,11 +3,12 @@ pkgver=5.45.4
pkgdesc='A tool for automating interactive applications' pkgdesc='A tool for automating interactive applications'
homepage='https://www.nist.gov/el/msid/expect.cfm' homepage='https://www.nist.gov/el/msid/expect.cfm'
license=(custom) license=(custom)
sources=("${pkgname}${pkgver}.tar.gz" _archive=${pkgname}${pkgver}
"expect-5.45.4-gcc14-1.patch" sources=("${_archive}.tar.gz"
"${pkgname}-${pkgver}-gcc14-1.patch"
) )
urls=("https://prdownloads.sourceforge.net/expect/expect${pkgver}.tar.gz" urls=("https://prdownloads.sourceforge.net/expect/${sources[0]}"
"https://www.linuxfromscratch.org/patches/lfs/12.2/expect-5.45.4-gcc14-1.patch" "https://www.linuxfromscratch.org/patches/lfs/12.2/${sources[1]}"
) )
md5sums=("00fce8de158422f5ccd2666512329bd2" md5sums=("00fce8de158422f5ccd2666512329bd2"
"0b8b5ac411d011263ad40b0664c669f0" "0b8b5ac411d011263ad40b0664c669f0"
@@ -38,7 +39,7 @@ src_check() {
src_install() { src_install() {
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
ln -svf expect5.45.4/libexpect5.45.4.so "${pkgdir}/usr/lib" ln -svf ${pkgname}${pkgver}/libexpect${pkgver}.so "${pkgdir}/usr/lib"
install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/README" install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/README"
# avoid file conflict with the more powerful mkpasswd from the whois package # avoid file conflict with the more powerful mkpasswd from the whois package