2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 16:30:04 -07:00
repo/xorg/libXmeta/build

21 lines
383 B
Plaintext
Raw Normal View History

#!/bin/sh -e
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static
make
make DESTDIR="$1" install
2021-07-06 06:09:49 -06:00
# 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"