mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-27 06:00:10 +00:00
24 lines
1.1 KiB
Bash
24 lines
1.1 KiB
Bash
TERMUX_PKG_HOMEPAGE=http://site.icu-project.org/home
|
|
TERMUX_PKG_DESCRIPTION='International Components for Unicode library'
|
|
TERMUX_PKG_LICENSE="BSD"
|
|
# We override TERMUX_PKG_SRCDIR termux_step_post_get_source so need to do
|
|
# this hack to be able to find the license file.
|
|
TERMUX_PKG_LICENSE_FILE="../LICENSE"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
# Never forget to always bump revision of reverse dependencies and rebuild them
|
|
# when bumping version.
|
|
TERMUX_PKG_VERSION=73.1
|
|
TERMUX_PKG_SRCURL=https://github.com/unicode-org/icu/releases/download/release-${TERMUX_PKG_VERSION//./-}/icu4c-${TERMUX_PKG_VERSION//./_}-src.tgz
|
|
TERMUX_PKG_SHA256=a457431de164b4aa7eca00ed134d00dfbf88a77c6986a10ae7774fc076bb8c45
|
|
TERMUX_PKG_DEPENDS="libc++"
|
|
TERMUX_PKG_BREAKS="libicu-dev"
|
|
TERMUX_PKG_REPLACES="libicu-dev"
|
|
TERMUX_PKG_HOSTBUILD=true
|
|
TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="--disable-samples --disable-tests"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-samples --disable-tests --with-cross-build=$TERMUX_PKG_HOSTBUILD_DIR"
|
|
|
|
termux_step_post_get_source() {
|
|
TERMUX_PKG_SRCDIR+="/source"
|
|
find . -type f | xargs touch
|
|
}
|