icu 76.1-1
This commit is contained in:
58
icu/alr.sh
Normal file
58
icu/alr.sh
Normal file
@ -0,0 +1,58 @@
|
||||
name='icu'
|
||||
version='76.1'
|
||||
release='1'
|
||||
desc='International Components for Unicode library.'
|
||||
homepage='https://icu.unicode.org'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=(
|
||||
'LicenseRef-Unicode-3.0'
|
||||
'BSD-2-Clause'
|
||||
'BSD-3-Clause'
|
||||
)
|
||||
provides=('libicu-data.so' 'lib-i18n.so' 'libicu-io.so' 'libicu-test.so' 'libicu-tu.so' 'libicu-uc.so')
|
||||
conflicts=('icu' 'libicu' 'libicu-devel')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'python3'
|
||||
'libproxy-devel'
|
||||
'sqlite-devel'
|
||||
)
|
||||
|
||||
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 -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
check() {
|
||||
cd icu/source
|
||||
make check -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
cd icu/source
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
install-license "${scriptdir}"/LICENSE ./icu/LICENSE
|
||||
}
|
Reference in New Issue
Block a user