PKGBUILDs/extra/intltool/PKGBUILD

22 lines
739 B
Bash

# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=intltool
pkgver=0.40.6
pkgrel=1
pkgdesc="The internationalization tool collection"
arch=('arm')
url="http://freedesktop.org/wiki/Software/intltool"
license=('GPL')
depends=('perlxml')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('69bc0353323112f42ad4f9cf351bc3e5')
sha1sums=('4f6469e09e2c06a8072dffff36f84ff401d7ea75')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -D -m644 doc/I18N-HOWTO ${pkgdir}/usr/share/doc/${pkgname}/I18N-HOWTO || return 1
}