diff options
Diffstat (limited to 'scripts/vendor/nunicode.sh')
-rwxr-xr-x | scripts/vendor/nunicode.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/vendor/nunicode.sh b/scripts/vendor/nunicode.sh new file mode 100755 index 0000000000..caa6c54d55 --- /dev/null +++ b/scripts/vendor/nunicode.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +source "$(dirname "${BASH_SOURCE[0]}")/common.sh" + +NAME=nunicode +VERSION=1.7.1 +ROOT=alekseyt-nunicode-263219737286 + +download "https://bitbucket.org/alekseyt/nunicode/get/$VERSION.tar.gz" +init +extract "$ROOT/libnu/*.c" "$ROOT/libnu/*.h" "$ROOT/LICENSE" +mkdir -p include/libnu src/libnu/gen +find libnu -name "*.c" -exec mv {} src/{} \; +find libnu -name "*.h" -exec mv {} include/{} \; +rm -rf libnu +file_list include src -name "*.h" -o -name "*.c" |