new: lfs-12.2-systemd/intltool-0.51.0

This commit is contained in:
Yingjie Wang 2025-01-22 23:10:35 -05:00
parent 3a9271875a
commit 33236eed6e

View File

@ -0,0 +1,28 @@
pkgname=intltool
pkgver=0.51.0
pkgdesc="The internationalization tool collection"
homepage="https://launchpad.net/intltool"
license=('GPL')
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://launchpad.net/intltool/trunk/0.51.0/+download/${sources[0]}")
md5sums=("12e517cac2b57a0121cda351570f1e63")
src_prepare() {
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
sed -i 's:\\\${:\\\$\\{:' intltool-update.in
}
src_build() {
./configure --prefix=/usr
make
}
src_check() {
make check
}
src_install() {
make DESTDIR="${pkgdir}" install
install -v -Dm644 doc/I18N-HOWTO "${pkgdir}/usr/share/doc/intltool-0.51.0/I18N-HOWTO"
}