1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
6 pkgdesc="The internationalization tool collection"
8 url="https://launchpad.net/intltool"
10 depends=('perl-xml-parser')
11 source=(https://launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz{,.asc}
12 intltool-0.51.0-perl-5.26.patch
13 intltool-merge-Create-cache-file-atomically.patch
14 intltool_distcheck-fix.patch
15 intltool-fixrace.patch)
16 sha256sums=('67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd'
18 '458f5d53ac358810879080f69b11649901babcacc14471c243eb850e9436d546'
19 '13bd6deb65dc94933f132919d4eea4c24354d7c1c1c9e5930cb6e70c75703763'
20 '58cb7d60796bc69c7d0865f106feb589d0271619e62f8741bff6f5ce1a2615ff'
21 '5c453ccb8bfe6e0b05d7a55e66dcfa793ea81d9bbe9fdc41f668326ba9310deb')
22 validpgpkeys=('9EBD001680E8C8F9FAC61A9BE1A701D4C9DE75B5')
25 cd ${pkgname}-${pkgver}
26 patch -Np1 -i ../intltool-0.51.0-perl-5.26.patch
27 patch -Np1 -i ../intltool-merge-Create-cache-file-atomically.patch
28 patch -Np1 -i ../intltool_distcheck-fix.patch
29 patch -Np1 -i ../intltool-fixrace.patch # https://bugs.launchpad.net/intltool/+bug/1687644
33 cd ${pkgname}-${pkgver}
34 ./configure --prefix=/usr
39 cd ${pkgname}-${pkgver}
44 cd ${pkgname}-${pkgver}
45 make DESTDIR="${pkgdir}" install
46 install -D -m644 doc/I18N-HOWTO "${pkgdir}/usr/share/doc/${pkgname}/I18N-HOWTO"