diff options
| author | Yuval Adam <yuval@y3xz.com> | 2016-02-02 00:10:56 +0200 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2016-02-02 00:10:56 +0200 |
| commit | 4a39eb32b30bb58fa3bcf71e47f82952e9c40c4d (patch) | |
| tree | 72f9242796fffb367956618c27b16171c069be33 /aur/icu-staticlibs/PKGBUILD | |
| parent | 85c1b3d207dba98ee50fe3919e8711df100a1fdc (diff) | |
| parent | df05ffc9a959f5ab7121503dd8448c493233fe89 (diff) | |
Add 'aur/icu-staticlibs/' from commit 'df05ffc9a959f5ab7121503dd8448c493233fe89'
git-subtree-dir: aur/icu-staticlibs
git-subtree-mainline: 85c1b3d207dba98ee50fe3919e8711df100a1fdc
git-subtree-split: df05ffc9a959f5ab7121503dd8448c493233fe89
Diffstat (limited to 'aur/icu-staticlibs/PKGBUILD')
| -rw-r--r-- | aur/icu-staticlibs/PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/aur/icu-staticlibs/PKGBUILD b/aur/icu-staticlibs/PKGBUILD new file mode 100644 index 0000000..21ccf19 --- /dev/null +++ b/aur/icu-staticlibs/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Art Gramlich <art@gramlich-net.com> + +pkgname=icu-staticlibs +pkgver=55.1 +pkgrel=1 +pkgdesc="International Components for Unicode library with staticlibs enabled" +arch=(i686 x86_64) +url="http://www.icu-project.org/" +license=('custom:icu') +depends=('gcc-libs>=4.7.1-5' 'sh') +options=(staticlibs) +#makedepends=('clang') +source=(#http://download.icu-project.org/files/icu4c/${pkgver}/icu4c-${pkgver/./_}-src.tgz + http://download.icu-project.org/files/icu4c/${pkgver}/icu4c-${pkgver//./_}-src.tgz + icu.8198.revert.icu5431.patch) +md5sums=('e2d523df79d6cb7855c2fbe284f4db29' + 'ebd5470fc969c75e52baf4af94a9ee82') + +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 +} + +build() { + cd icu/source + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --sbindir=/usr/bin \ + --enable-static + 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 +} |
