mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
31 lines
923 B
Bash
31 lines
923 B
Bash
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
|
|
# Contributor: Art Gramlich <art@gramlich-net.com>
|
|
|
|
# Plugbox changes:
|
|
# - icu needs the patch to build on ARM
|
|
|
|
pkgname=icu
|
|
pkgver=4.4.1
|
|
pkgrel=1
|
|
pkgdesc="International Components for Unicode library"
|
|
arch=(i686 x86_64 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
|
|
28107-icu-arm.patch)
|
|
md5sums=('b6bc0a1153540b2088f8b03e0ba625d3'
|
|
'930eec07e19c542d54e28d40a3c2e709')
|
|
|
|
build() {
|
|
cd ${srcdir}/icu/source
|
|
|
|
patch -Np1 -i $srcdir/28107-icu-arm.patch || return 1
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
|
|
make || return 1
|
|
make -j1 DESTDIR=${pkgdir} install || return 1
|
|
|
|
# Install license
|
|
install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
|
|
}
|