Browse Source

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
android-5
Leonid Plyushch 6 years ago
parent
commit
c34100226c
  1. 4
      packages/freetype/build.sh

4
packages/freetype/build.sh

@ -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
}

Loading…
Cancel
Save