2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-07 08:22:28 +00:00
repo/extra/cmake/build
2019-08-19 00:33:32 +00:00

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"