PKGBUILDs/extra/icu/PKGBUILD
2010-02-06 01:53:23 -08:00

31 lines
923 B
Bash

# $Id: PKGBUILD 44771 2009-07-04 10:35:13Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Art Gramlich <art@gramlich-net.com>
# Contributor: Jonny Gerold <jonny@fsk141.com>
pkgname=icu
pkgver=4.2.1
pkgrel=1
pkgdesc="International Components for Unicode library"
arch=(arm)
url="http://www.icu-project.org/"
license=('custom:"icu"')
depends=('gcc-libs' 'sh')
source=(http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz
pkgdata.patch)
md5sums=('e3738abd0d3ce1870dc1fd1f22bba5b1'
'2e34b5f59e616c8c6bbd4b714b623250')
build() {
cd $srcdir/icu
patch -p0 < pkgdata.patch
cd ${srcdir}/icu/source
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
make || return 1
make DESTDIR=${pkgdir} install || return 1
# Install license
install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
}