diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:56:22 -0500 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:56:22 -0500 |
| commit | 13984f725db156cbc952d0afe90f27da15a0b85d (patch) | |
| tree | b3a39b75ecaecca11ee1525a99153a7606e460cb /icu/build.sh | |
| download | spm_packages-13984f725db156cbc952d0afe90f27da15a0b85d.tar.gz | |
Initial commit
Diffstat (limited to 'icu/build.sh')
| -rw-r--r-- | icu/build.sh | 30 |
1 files changed, 30 insertions, 0 deletions
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}" +} |
