freetype: fix build.sh

Replace `cp` with `install -D...` to make sure that all parent directories
are created.

https://gitlab.com/termux-mirror/termux-packages/-/jobs/179106089
This commit is contained in:
Leonid Pliushch 2019-03-17 22:31:05 +02:00
parent dfd4fceb33
commit c76fc67851

View File

@ -10,7 +10,7 @@ TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="bin/freetype-config share/man/man1/freetype-co
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-harfbuzz=no"
# not install these files anymore so install them manually.
termux_step_post_make_install() {
cp freetype-config $TERMUX_PREFIX/bin
cp ../src/docs/freetype-config.1 $TERMUX_PREFIX/share/man/man1/
install -Dm700 freetype-config $TERMUX_PREFIX/bin/freetype-config
install -Dm600 ../src/docs/freetype-config.1 $TERMUX_PREFIX/share/man/man1/freetype-config.1
}