#!/bin/sh -e mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. cmake --build . DESTDIR="$1" cmake --install .