2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 00:30:06 -07:00
repo/xorg/libX11/build
2021-07-06 14:52:16 +03:00

18 lines
311 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
# Conflicts with xorgproto.
rm -f "$1/usr/include/X11/extensions/XKBgeom.h"
# Remove library documentation.
rm -rf "$1/usr/share/man/man3"