2
0
mirror of https://codeberg.org/kiss-community/repo synced 2025-02-26 16:46:23 -07:00
repo/xorg/libX11/build
2019-08-19 00:50:32 +00:00

15 lines
241 B
Bash
Executable File

#!/bin/sh -e
CFLAGS_FOR_BUILD=-fPIC \
./configure \
--prefix=/usr \
--enable-static
make
make DESTDIR="$1" install
# Remove unneeded files.
rm -rf "$1/usr/share/doc"
rm -rf "$1/usr/share/man/man3"
rm -rf "$1/usr/share/X11/locale"