repo/extra/libass/build
2023-03-05 17:34:06 -06:00

18 lines
316 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
sh ./configure \
FRIBIDI_LIBS=" " \
--prefix=/usr \
--enable-fontconfig
make
make DESTDIR="$1" install