update to 12.4-systemd: gettext-0.26
This commit is contained in:
33
lfs/gettext-0.26.PKGBUILD
Normal file
33
lfs/gettext-0.26.PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
pkgname=gettext
|
||||
pkgver=0.26
|
||||
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=("8e14e926f088e292f5f2bce95b81d10e")
|
||||
|
||||
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