#!/bin/sh -e export DESTDIR="$1" cmake -B build \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DNAME_PREFIX=sgt- cmake --build build cmake --install build