From 9f56a5edbae708ded7607c1975cd3c31e382b031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=A5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=BE=D0=B2?= Date: Sat, 27 Jul 2024 14:15:56 +0300 Subject: [PATCH] name='icu' version='75.1' release='1' --- icu/alr.sh | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 icu/alr.sh diff --git a/icu/alr.sh b/icu/alr.sh new file mode 100644 index 0000000..1c56898 --- /dev/null +++ b/icu/alr.sh @@ -0,0 +1,53 @@ +name='icu' +version='75.1' +release='1' +desc='International Components for Unicode library.' +homepage='https://icu.unicode.org' +maintainer="Евгений Храмов " +architectures=('amd64') +license=( + 'LicenseRef-Unicode-3.0' + 'BSD-2-Clause' + 'BSD-3-Clause' +) +provides=(libicu{data,i18n,io,test,tu,uc}.so) + +deps=( + 'gcc-libs' + 'glibc' + 'sh' +) + +build_deps=('python') + +sources=("https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz") +checksums=('SKIP') + +prepare() { + cd icu/source + # Required fix for thunderbird 115 to show Calendar and sidebar properly + # https://bugzilla.mozilla.org/show_bug.cgi?id=1843007 + # https://unicode-org.atlassian.net/browse/ICU-22132 + patch -Np1 < "${scriptdir}/ICU-22132.patch" +} + +build() { + cd icu/source + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --sbindir=/usr/bin + make +} + +check() { + cd icu/source + make check +} + +package() { + cd icu/source + make DESTDIR="${pkgdir}" install + + install-license "${scriptdir}"/LICENSE ./${name}/LICENSE +}