2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 00:10:05 -07:00
repo/xorg/libXmeta/build
2021-07-06 15:09:49 +03:00

21 lines
383 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static
make
make DESTDIR="$1" install
# Some X11 packages install to /usr/share.
! [ -d "$1/usr/share/pkgconfig" ] || {
mkdir -p "$1/usr/lib"
mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
}
# Remove library documentation.
# False positive.
# shellcheck disable=2115
rm -rf "$1/usr/share"