new: lfs-12.2-systemd/intltool-0.51.0
This commit is contained in:
parent
3a9271875a
commit
33236eed6e
28
lfs-12.2-systemd/intltool-0.51.0.PKGBUILD
Normal file
28
lfs-12.2-systemd/intltool-0.51.0.PKGBUILD
Normal 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"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user