APP=icu
VERSION=69.1
BUILD=1sml
HOMEPAGE=''
DOWNLOAD=''
HOMEPAGE='http://www.icu-project.org/'
DOWNLOAD='https://github.com/unicode-org/icu/releases/download/release-67-1/icu4c-67_1-src.tgz'
DESC="International Components for Unicode"
REQUIRES="gcc-libs python3"

build() {
  mkandenterbuilddir
  rm -rf "$APP"

  SVERSION="$(echo $VERSION | sed 's/\./_/g')"
  tar xf $SRCDIR/icu4c-"$SVERSION"-src.tar.lz
  cd icu
  fixbuilddirpermissions

  cd source
  CFLAGS="$CFLAGS" \
  ./configure \
    --prefix="" \
    --sbindir=/bin \
    --disable-tests \
    --disable-samples \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp ../LICENSE $PKGDOCS/ 

  mkfinalpkg
}

SHA512SUMS="
45767114fb41ae55589da151970f22769065cfe57ca723d95349293cb1705cb09c041f09fbb4c4aec0ced562467e5b7f6a058e18230c2aa6f15dd6f491140a6e  icu4c-69_1-src.tar.lz
"
