2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 11:40:21 -07:00
repo/extra/cmake/build
2019-08-21 00:28:20 +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"