2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 08:20:05 -07:00
repo/xorg/libX11/build
2019-08-19 00:56:38 +00:00

14 lines
208 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"