repo/xorg/libX11/build
2021-07-06 15:14:32 +03:00

15 lines
234 B
Bash
Executable File

#!/bin/sh -e
CFLAGS_FOR_BUILD=-fPIC \
./configure \
--prefix=/usr \
--without-xmlto \
--disable-specs \
--disable-static
make
make DESTDIR="$1" install
# Remove library documentation.
rm -rf "$1/usr/share/man/man3"