mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
pkgname=intltool
|
|
pkgver=0.51.0
|
|
pkgrel=2
|
|
pkgdesc="The internationalization tool collection"
|
|
arch=('any')
|
|
url="https://edge.launchpad.net/intltool"
|
|
license=('GPL')
|
|
depends=('perl-xml-parser')
|
|
source=(https://launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz{,.asc}
|
|
intltool-0.51.0-perl-5.26.patch
|
|
intltool-merge-Create-cache-file-atomically.patch
|
|
intltool_distcheck-fix.patch)
|
|
sha256sums=('67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd'
|
|
'SKIP'
|
|
'458f5d53ac358810879080f69b11649901babcacc14471c243eb850e9436d546'
|
|
'13bd6deb65dc94933f132919d4eea4c24354d7c1c1c9e5930cb6e70c75703763'
|
|
'58cb7d60796bc69c7d0865f106feb589d0271619e62f8741bff6f5ce1a2615ff')
|
|
validpgpkeys=('9EBD001680E8C8F9FAC61A9BE1A701D4C9DE75B5')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
install -Dm644 doc/I18N-HOWTO \
|
|
${pkgdir}/usr/share/doc/${pkgname}/I18N-HOWTO
|
|
}
|