From 13984f725db156cbc952d0afe90f27da15a0b85d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 18 Feb 2020 12:56:22 -0500 Subject: Initial commit --- icu/build.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 icu/build.sh (limited to 'icu/build.sh') diff --git a/icu/build.sh b/icu/build.sh new file mode 100644 index 0000000..cc6013d --- /dev/null +++ b/icu/build.sh @@ -0,0 +1,30 @@ +#!/bin/bash +name=icu +version=65.1 +revision=0 +sources=( + "https://github.com/unicode-org/${name}/releases/download/release-${version//./-}/${name}4c-${version//./_}-src.tgz" +) +build_depends=( + "automake" + "autoconf" + "patch" + "python" +) +depends=() + + +function prepare() { + tar xf ${name}4c-${version//./_}-src.tgz + cd ${name}/source + #patch -p0 -i "${build_script_root}/0001-disable-tests.patch" +} + +function build() { + ./runConfigureICU Linux --prefix="${_prefix}" + make -j${_maxjobs} +} + +function package() { + make install DESTDIR="${_pkgdir}" +} -- cgit