update to 12.3: gettext

This commit is contained in:
Yingjie Wang 2025-03-25 12:45:38 -04:00
parent 6bd5fcb44c
commit 4b7fddb23f

View File

@ -1,5 +1,5 @@
pkgname=gettext
pkgver=0.22.5
pkgver=0.24
pkgdesc="GNU internationalization library"
homepage="https://www.gnu.org/software/gettext/"
license=(
@ -10,7 +10,7 @@ license=(
)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
md5sums=("3ae5580599d84be93e6213930facb2db")
md5sums=("87aea3013802a3c60fa3feb5c7164069")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
@ -19,12 +19,11 @@ src_prepare() {
src_build() {
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/gettext-0.22.5
--docdir=/usr/share/doc/${pkgname}-${pkgver}
make
}
src_check() {
leaf_record_message "If zh_CN.UTF-8 has been defined, then 5 tests are known to fail without libunistring:\n\ttest-ctype_alnum\n\ttest-ctype_alpha\n\ttest-ctype_graph\n\ttest-ctype_print\n\ttest-ctype_punct"
make -k check
}