2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-17 04:00:14 -07:00
repo/extra/cmake/build

15 lines
234 B
Plaintext
Raw Normal View History

2019-06-27 06:45:20 -06:00
#!/bin/sh -e
./configure \
--prefix=/usr
make
make DESTDIR="$1" install
2019-08-18 18:33:32 -06:00
# Grab the package version.
2019-08-20 18:28:20 -06:00
IFS=. read -r ver1 ver2 _ < "${0%/*}/version"
2019-08-18 18:33:32 -06:00
# Remove docs.
rm -rf "$1/usr/doc"
rm -rf "$1/usr/share/cmake-$ver1.$ver2/Help"