repo/extra/libass/build
2021-07-07 14:02:09 +03:00

19 lines
332 B
Bash
Executable File

#!/bin/sh -e
patch -p1 < no-fribidi.patch
# Remove fribidi configure checks.
sed -e 's/as_fn_error.*fribidi/: 0 "/' \
-e '/pkg_requires="fribidi >= .*/d' \
configure > _
mv -f _ configure
chmod +x configure
./configure \
FRIBIDI_LIBS=" " \
--prefix=/usr \
--enable-fontconfig
make
make DESTDIR="$1" install