mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-24 08:20:05 -07:00
15 lines
234 B
Bash
Executable File
15 lines
234 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
./configure \
|
|
--prefix=/usr
|
|
|
|
make
|
|
make DESTDIR="$1" install
|
|
|
|
# Grab the package version.
|
|
IFS=. read -r ver1 ver2 _ < "${0%/*}/version"
|
|
|
|
# Remove docs.
|
|
rm -rf "$1/usr/doc"
|
|
rm -rf "$1/usr/share/cmake-$ver1.$ver2/Help"
|