mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
37 lines
1018 B
Bash
37 lines
1018 B
Bash
# $Id: PKGBUILD 77335 2010-04-12 02:06:41Z dgriffiths $
|
|
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=intltool
|
|
pkgver=0.41.1
|
|
pkgrel=3
|
|
pkgdesc="The internationalization tool collection"
|
|
arch=('any')
|
|
url="https://edge.launchpad.net/intltool"
|
|
license=('GPL')
|
|
depends=('perlxml')
|
|
source=(http://edge.launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('d6c91bf06681919ccfdf3624035b75dc')
|
|
sha1sums=('20b2bf222395cf1711fee1f1b7b7650b9e0f2fc2')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
install -Dm644 doc/I18N-HOWTO \
|
|
${pkgdir}/usr/share/doc/${pkgname}/I18N-HOWTO || return 1
|
|
}
|