update to 12.3: gettext
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
pkgname=gettext
|
||||
pkgver=0.24
|
||||
pkgdesc="GNU internationalization library"
|
||||
homepage="https://www.gnu.org/software/gettext/"
|
||||
license=(
|
||||
GFDL-1.2-only
|
||||
GPL-2.0-only
|
||||
GPL-2.0-or-later
|
||||
LGPL-2.0-only
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
||||
md5sums=("87aea3013802a3c60fa3feb5c7164069")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${pkgname}-${pkgver}
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make -k check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
chmod -v 0755 "${pkgdir}/usr/lib/preloadable_libintl.so"
|
||||
}
|
||||
Reference in New Issue
Block a user