core/intltool/PKGBUILD
2010-05-16 15:08:55 +00:00

32 lines
887 B
Bash

# $Id: PKGBUILD 77335 2010-04-12 02:06:41Z dgriffiths $
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=intltool
pkgver=0.41.1
pkgrel=1
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
}