2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 23:30:05 -07:00
repo/core/kiss/build
2021-07-26 15:14:28 +03:00

20 lines
350 B
Bash
Executable File

#!/bin/sh -e
mkdir -p \
"$1/usr/bin" \
"$1/usr/share/doc/kiss"
cp -f kiss contrib/* "$1/usr/bin/"
for doc in docs/site/*.txt doc/*.txt; do case ${doc%%.txt} in
README|news|blog|screenshots)
# Skip.
;;
*)
cp -f "$doc" "$1/usr/share/doc/kiss/${doc##*/}"
;;
esac done
cp -r wiki "$1/usr/share/doc/kiss/wiki"