PKGBUILDs/core/icu/PKGBUILD

51 lines
1.3 KiB
Bash
Raw Normal View History

2014-04-18 21:56:06 +00:00
# $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
2017-04-29 16:32:59 +00:00
pkgver=59.1
pkgrel=1
2014-04-18 21:56:06 +00:00
pkgdesc="International Components for Unicode library"
arch=(i686 x86_64)
url="http://www.icu-project.org/"
2014-10-20 19:07:51 +00:00
license=('custom:icu')
2017-04-29 16:32:59 +00:00
depends=('gcc-libs' 'sh')
2014-04-18 21:56:06 +00:00
#makedepends=('clang')
2016-12-01 13:37:45 +00:00
# no https available
2014-04-18 21:56:06 +00:00
source=(#http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver/./_}-src.tgz
2016-12-01 13:37:45 +00:00
http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz
icudata-stdlibs.patch)
# upstream offers md5sum checks, only asc file for md5sum check
2017-04-29 16:32:59 +00:00
sha256sums=('7132fdaf9379429d004005217f10e00b7d2319d0fea22bdfddef8991c45b75fe'
2017-04-23 23:06:36 +00:00
'13444e40ec8da75a3c4140448b25bdf51887a2691c9afdb0c63134ddd33d915b')
2014-04-18 21:56:06 +00:00
prepare() {
cd icu/source
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
}