summaryrefslogtreecommitdiffstats
path: root/abs/core/intltool/PKGBUILD
blob: 44ff833982459f5cd2d59f3fc2a7932188310afd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 155385 2012-04-03 01:23:12Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>

pkgname=intltool
pkgver=0.50.2
pkgrel=1
pkgdesc="The internationalization tool collection"
arch=('any')
url="https://edge.launchpad.net/intltool"
license=('GPL')
depends=('perl-xml-parser')
source=(http://edge.launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz{,.asc})
sha1sums=('7fddbd8e1bf94adbf1bc947cbf3b8ddc2453f8ad'
          '85c71e9651df41fc330c5f171fdfe1bf11e44f65')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

check() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make check
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -D -m644 doc/I18N-HOWTO "${pkgdir}/usr/share/doc/${pkgname}/I18N-HOWTO"
}