summaryrefslogtreecommitdiffstats
path: root/abs/core/intltool/PKGBUILD
blob: 3ddeaaf98fd6478d59bd1e4a42dabec2e2f0c9d8 (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
32
# $Id$
# Maintainer: Eric BĂ©langer <eric@archlinux.org>

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

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

check() {
  cd ${pkgname}-${pkgver}
  make check
}

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