kiss-mfavila-large/community-mod/rolling/xkb-switch-git/build

14 lines
283 B
Plaintext
Raw Normal View History

#!/bin/sh -e
export DESTDIR="$1"
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
cmake --install build
# Man page may be compressed, install manually instead.
rm -rf "$1/usr/share/man"
install -Dm 0644 man/xkb-switch.1 "$1/usr/share/man/man1/xkb-switch.1"