2009-10-10 02:23:22 +00:00
|
|
|
# $Id: PKGBUILD 44771 2009-07-04 10:35:13Z andyrtr $
|
|
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# Contributor: Art Gramlich <art@gramlich-net.com>
|
2010-02-06 09:53:23 +00:00
|
|
|
# Contributor: Jonny Gerold <jonny@fsk141.com>
|
2009-10-10 02:23:22 +00:00
|
|
|
|
|
|
|
pkgname=icu
|
|
|
|
pkgver=4.2.1
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="International Components for Unicode library"
|
2010-02-06 09:53:23 +00:00
|
|
|
arch=(arm)
|
2009-10-10 02:23:22 +00:00
|
|
|
url="http://www.icu-project.org/"
|
|
|
|
license=('custom:"icu"')
|
|
|
|
depends=('gcc-libs' 'sh')
|
2010-02-06 09:53:23 +00:00
|
|
|
source=(http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz
|
|
|
|
pkgdata.patch)
|
|
|
|
|
|
|
|
md5sums=('e3738abd0d3ce1870dc1fd1f22bba5b1'
|
|
|
|
'2e34b5f59e616c8c6bbd4b714b623250')
|
2009-10-10 02:23:22 +00:00
|
|
|
|
|
|
|
build() {
|
2010-02-06 09:53:23 +00:00
|
|
|
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
|
2009-10-10 02:23:22 +00:00
|
|
|
|
2010-02-06 09:53:23 +00:00
|
|
|
# Install license
|
|
|
|
install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
|
2009-10-10 02:23:22 +00:00
|
|
|
}
|