kiss-mfavila-small/core-mod/core/kiss/build
2021-07-15 03:27:45 +00:00

23 lines
530 B
Bash
Executable File

#!/bin/sh -e
patch kiss -R < alt_dl.patch
mkdir -p "$1/usr/bin"
# Install kiss utilities.
cp -f kiss contrib/* "$1/usr/bin/"
# Install distribution documentation.
for doc in docs/site/*.txt; do
install -Dm644 "$doc" "$1/usr/share/doc/kiss/${doc##*/}"
done
# Install the Wiki.
cp -r wiki "$1/usr/share/doc/kiss/wiki"
# Remove unnecessary pages.
rm -f "$1/usr/share/doc/kiss/wiki/README.txt" \
"$1/usr/share/doc/kiss/news.txt" \
"$1/usr/share/doc/kiss/blog.txt" \
"$1/usr/share/doc/kiss/screenshots.txt"