mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
52 lines
1.4 KiB
Bash
52 lines
1.4 KiB
Bash
# $Id$
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
# Contributor: Art Gramlich <art@gramlich-net.com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - patch to fix icudata library linking on ARM
|
|
|
|
pkgname=icu
|
|
pkgver=54.1
|
|
pkgrel=1
|
|
pkgdesc="International Components for Unicode library"
|
|
arch=(i686 x86_64)
|
|
url="http://www.icu-project.org/"
|
|
license=('custom:icu')
|
|
depends=('gcc-libs>=4.7.1-5' 'sh')
|
|
#makedepends=('clang')
|
|
source=(#http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver/./_}-src.tgz
|
|
http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz
|
|
icu.8198.revert.icu5431.patch
|
|
icudata-stdlibs.patch)
|
|
md5sums=('e844caed8f2ca24c088505b0d6271bc0'
|
|
'ebd5470fc969c75e52baf4af94a9ee82'
|
|
'4e5202245fce364490334bd66b5edabc')
|
|
|
|
prepare() {
|
|
cd icu/source
|
|
# fix Malayalam encoding https://bugzilla.redhat.com/show_bug.cgi?id=654200
|
|
patch -Rp3 -i ${srcdir}/icu.8198.revert.icu5431.patch
|
|
patch -p2 -i ${srcdir}/icudata-stdlibs.patch
|
|
}
|
|
|
|
build() {
|
|
cd icu/source
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--sbindir=/usr/bin
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd icu/source
|
|
make -k check # passes all
|
|
}
|
|
|
|
package() {
|
|
cd icu/source
|
|
make -j1 DESTDIR=${pkgdir} install
|
|
|
|
# Install license
|
|
install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
|
|
}
|